quiet some clang warnings & fix for bugs in exceptional cases.
[blender.git] / source / blender / editors / space_image / image_draw.c
index b866a21..0f361b4 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 */