warning fixes.
[blender-staging.git] / source / blender / editors / space_text / text_ops.c
index 8d4f3f87f669178ad6fad54d14d915c917b8cdf3..af29e57548238fcc7d7d5903097edcedebc93a17 100644 (file)
@@ -558,6 +558,8 @@ static int run_script_poll(bContext *C)
 static int run_script_exec(bContext *C, wmOperator *op)
 {
 #ifdef DISABLE_PYTHON
+       (void)C; /* unused */
+
        BKE_report(op->reports, RPT_ERROR, "Python disabled in this build");
 
        return OPERATOR_CANCELLED;