quiet some clang warnings & fix for bugs in exceptional cases.
[blender-staging.git] / source / blender / editors / space_image / image_draw.c
index b866a21d027b0263f494c904c1388e3660b8c96c..0f361b43de6557e99c15bb2de65ae2c8e394ac6a 100644 (file)
@@ -332,6 +332,8 @@ void draw_image_info(ARegion *ar, int color_manage, int channels, int x, int y,
                BLF_draw_ascii(blf_mono_font, str, sizeof(str));
                dx += BLF_width(blf_mono_font, str);
        }
+
+       (void)dx;
 }
 
 /* image drawing */