Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / interface / interface.c
index 8a16b3077d58f5effabedb1d024125d948d6770f..d8812b85c196aac5b164db12d34629813f1b0c74 100644 (file)
@@ -2333,11 +2333,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 */