quiet some clang warnings & fix for bugs in exceptional cases.
[blender.git] / source / blender / editors / interface / interface_regions.c
index 4457ec6..1a240f3 100644 (file)
@@ -2326,6 +2326,7 @@ static void confirm_operator(bContext *C, wmOperator *op, const char *title, con
        
        s= buf;
        if (title) s+= sprintf(s, "%s%%t|%s", title, item);
+       (void)s;
        
        handle= ui_popup_menu_create(C, NULL, NULL, NULL, NULL, buf);