quiet some clang warnings & fix for bugs in exceptional cases.
[blender.git] / source / blender / editors / interface / interface_regions.c
index 4457ec6b3231ffb6aba50fe2a2b674c0810a0c27..1a240f347575aa3e26cdc4644a77e522fc373162 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);