diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-23 16:57:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-23 16:57:03 +0400 |
commit | d6d2f09dd9e4df0a3e1168b2fbd3dcf2f9bd8e27 (patch) | |
tree | 1a6e80812e585fbe4bfcf86e453fc0bf566e1b0e /source/blender/editors/space_view3d/view3d_header.c | |
parent | 7f56023e9bd95e8817556e0c6ae317434a1bee5a (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_view3d/view3d_header.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_header.c b/source/blender/editors/space_view3d/view3d_header.c index 445d2f434fa..939c44a0514 100644 --- a/source/blender/editors/space_view3d/view3d_header.c +++ b/source/blender/editors/space_view3d/view3d_header.c @@ -313,7 +313,7 @@ static char *view3d_modeselect_pup(Scene *scene) if (ob->particlesystem.first || modifiers_findByType(ob, eModifierType_Cloth) || modifiers_findByType(ob, eModifierType_Softbody)) { str += sprintf(str, formatstr, "Particle Mode", OB_MODE_PARTICLE_EDIT, ICON_PARTICLEMODE); } - + (void)str; return (string); } |