Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-04-23 16:57:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-23 16:57:03 +0400
commitd6d2f09dd9e4df0a3e1168b2fbd3dcf2f9bd8e27 (patch)
tree1a6e80812e585fbe4bfcf86e453fc0bf566e1b0e /source/blender/editors/space_image/image_draw.c
parent7f56023e9bd95e8817556e0c6ae317434a1bee5a (diff)
quiet some clang warnings & fix for bugs in exceptional cases.
- ghost C api, BLI_get_folder_version() could assign garbage values. - pointcache ptcache_find_frames_around() had a superfluous NULL check which would have crashed anyway if actually NULL.
Diffstat (limited to 'source/blender/editors/space_image/image_draw.c')
-rw-r--r--source/blender/editors/space_image/image_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/image_draw.c b/source/blender/editors/space_image/image_draw.c
index b866a21d027..0f361b43de6 100644
--- a/source/blender/editors/space_image/image_draw.c
+++ b/source/blender/editors/space_image/image_draw.c
@@ -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 */