fix for crash generating messages.txt, I wasn't getting this crash because I had...
[blender.git] / source / blender / editors / interface / interface_draw.c
index b65be48f7eeda544b6e92fc4d1b5e58f84789f70..a40900fb39b85c3857d25dc979ce2bc9bdc324fa 100644 (file)
@@ -466,6 +466,7 @@ void ui_draw_but_IMAGE(ARegion *UNUSED(ar), uiBut *but, uiWidgetColors *UNUSED(w
 {
 #ifdef WITH_HEADLESS
        (void)rect;
+       (void)but;
 #else
        ImBuf *ibuf= (ImBuf *)but->poin;
        //GLint scissor[4];