Building w/o Python works again
[blender.git] / source / blender / editors / interface / interface.c
index 2ebdf6d214e0fd2fb6e02a5c088c9fb10ca4b614..bcb1e3e648a54b3e8c0ff27eceff82d19bf0046f 100644 (file)
@@ -2335,11 +2335,10 @@ bool ui_but_string_set_eval_num(bContext *C, uiBut *but, const char *str, double
 
 #else /* WITH_PYTHON */
 
-       *value = atof(str);
+       *r_value = atof(str);
        ok = true;
 
-       (void)C;
-       (void)but;
+       UNUSED_VARS(C, but);
 
 #endif /* WITH_PYTHON */