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>2012-04-23 12:05:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-23 12:05:02 +0400
commitb9a2741f68c46fdf86d19eef845b803f9e96b1d9 (patch)
tree3acf958e19890b5430de63e4fc6eae8ec76f77db /source/blender/imbuf/intern/util.c
parentceffa6e1fab2b4b1388458bcf7c735e2783f90d8 (diff)
code cleanup: remove unused defines
Diffstat (limited to 'source/blender/imbuf/intern/util.c')
-rw-r--r--source/blender/imbuf/intern/util.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/util.c b/source/blender/imbuf/intern/util.c
index 85a2fd3dd91..b5fdb897d14 100644
--- a/source/blender/imbuf/intern/util.c
+++ b/source/blender/imbuf/intern/util.c
@@ -362,8 +362,11 @@ int imb_get_anim_type(const char * name)
if (isredcode(name)) return (ANIM_REDCODE);
#endif
type = IMB_ispic(name);
- if (type) return(ANIM_SEQUENCE);
- return(0);
+ if (type) {
+ return ANIM_SEQUENCE;
+ }
+
+ return ANIM_NONE;
}
int IMB_isanim(const char *filename)