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
This commit is contained in:
Kent Mein
2004-08-31 13:10:45 +00:00
parent 0bbcff693c
commit e525578f4d

View File

@@ -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;