quiet some clang warnings & fix for bugs in exceptional cases.
[blender.git] / source / blender / editors / interface / interface.c
index b07baf4..108f06a 100644 (file)
@@ -2093,6 +2093,8 @@ void ui_check_but(uiBut *but)
                                        str= strcat(str, "Alt ");
                                if(but->modifier_key & KM_OSKEY)
                                        str= strcat(str, "Cmd ");
+
+                               (void)str; /* UNUSED */
                        }
                        else
                                strcat(but->drawstr, "Press a key  ");