diff options
author | Kent Mein <mein@cs.umn.edu> | 2004-08-31 17:10:45 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2004-08-31 17:10:45 +0400 |
commit | e525578f4d2aecbd0ea53208fa83ec6f3e2f163a (patch) | |
tree | 552b43cbdeffb17b7e68436cabc7b1d64527cbe4 /source/blender/imbuf/intern | |
parent | 0bbcff693c7ac617609332e75607a94b0d160275 (diff) |
Some small clean ups again...
I added ifdef's around a var declaration since the code using
it had them... Also initalized two vars that were questionable if they
could reach a state where they weren't assigned.
Kent
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/anim.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/anim.c b/source/blender/imbuf/intern/anim.c index 190267b2d41..e3ae7a372f8 100644 --- a/source/blender/imbuf/intern/anim.c +++ b/source/blender/imbuf/intern/anim.c @@ -205,10 +205,11 @@ static void free_anim_movie(struct anim * anim) { ; } #endif static int an_stringdec(char *string, char* kop, char *staart,unsigned short *numlen) { - unsigned short len,nums,nume; + unsigned short len,nume,nums=0; short i,found=FALSE; len=strlen(string); + nume = len; for(i=len-1;i>=0;i--){ if (string[i]=='/') break; @@ -255,7 +256,9 @@ unsigned short numlen, int pic) { static void free_anim_avi (struct anim *anim) { +#if defined(_WIN32) && !defined(FREE_WINDOWS) int i; +#endif if (anim == NULL) return; if (anim->avi == NULL) return; |