mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
TINSEL: Fixed some warnings about unreachable code
svn-id: r44295
This commit is contained in:
parent
fbe1586abc
commit
3a976bfb6f
@ -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
|
||||
|
||||
|
@ -1092,8 +1092,6 @@ static bool DoSoundFrame(void) {
|
||||
currentSoundFrame++;
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1273,7 +1273,7 @@ HPOLYGON FirstPathPoly(void) {
|
||||
return i;
|
||||
}
|
||||
error("FirstPathPoly() - no PATH polygons");
|
||||
return NOPOLY;
|
||||
//return NOPOLY;
|
||||
}
|
||||
|
||||
HPOLYGON GetPolyHandle(int i) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user