Fixed warnings for msvc9.

svn-id: r31460
This commit is contained in:
Johannes Schickel 2008-04-09 15:16:50 +00:00
parent 08f7059cf2
commit b586235fb8
2 changed files with 2 additions and 2 deletions

View File

@ -555,7 +555,7 @@ bool AgiEngine::matchWord(void) {
return false;
}
// Lookup word in the dictionary
int line = 0, cmpRes, len;
int line = 0, cmpRes = 0, len = 0;
char target[MAXWORDLEN];
strncpy(target, _currentCode.c_str(), MAXWORDLEN);

View File

@ -780,7 +780,7 @@ void loadResourcesFromSave(Common::InSaveFile &fHandle, bool broken) {
int8 isMask = 0, isSpl = 0;
byte *dataPtr, *ptr;
char *animName, part[256];
byte transparentColor;
byte transparentColor = 0;
AnimData *currentPtr;
AnimHeaderStruct animHeader;