made code proper to avoid warning/fixed some small potential bugs

This commit is contained in:
zolliker
2005-03-04 12:53:07 +00:00
parent 52e8c78aa9
commit 9a94b6dca7
29 changed files with 71 additions and 46 deletions

4
mumo.c
View File

@ -451,7 +451,8 @@ static int SaveMumo(void *pData, char *name, FILE *fd)
{
SCWrite(pCon,"ERROR: Incomplete command",eError);
return 0;
}
}
return 1; /* inserted return statement, guessed return value M.Z.*/
}
/*--------------------------------------------------------------------------
@ -618,6 +619,7 @@ static int SaveMumo(void *pData, char *name, FILE *fd)
return 0;
}
}
return 1; /* inserted return statement, guessed return value M.Z */
}
/*-------------------------------------------------------------------------*/
static int CheckPermission(SConnection *pCon, pMulMot self)