TINSEL: Fixed some warnings about unreachable code

svn-id: r44295
This commit is contained in:
Filippos Karapetis 2009-09-24 09:50:22 +00:00
parent fbe1586abc
commit 3a976bfb6f
5 changed files with 6 additions and 6 deletions

View File

@ -169,11 +169,13 @@ SCRIPTSTATE DoNextFrame(ANIM *pAnim) {
error("ANI_CALL opcode encountered! Please report this error to the ScummVM team");
//(*pAni[pAnim->scriptIndex].pFunc)(pAnim);
#if 0
// next opcode
pAnim->scriptIndex++;
// go fetch a real image
break;
#endif
case ANI_HIDE: // hide animated object

View File

@ -1092,8 +1092,6 @@ static bool DoSoundFrame(void) {
currentSoundFrame++;
return true;
}
return true;
}
/**

View File

@ -2115,8 +2115,8 @@ int InvItem(Common::Point &coOrds, bool update) {
int x = coOrds.x;
int y = coOrds.y;
return InvItem(&x, &y, update);
coOrds.x = x;
coOrds.y = y;
//coOrds.x = x;
//coOrds.y = y;
}
/**

View File

@ -1273,7 +1273,7 @@ HPOLYGON FirstPathPoly(void) {
return i;
}
error("FirstPathPoly() - no PATH polygons");
return NOPOLY;
//return NOPOLY;
}
HPOLYGON GetPolyHandle(int i) {

View File

@ -5639,7 +5639,7 @@ int CallLibraryRoutine(CORO_PARAM, int operand, int32 *pp, const INT_CONTEXT *pi
error("Unsupported library function");
}
error("Can't possibly get here");
//error("Can't possibly get here");
}
} // end of namespace Tinsel