Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
This commit is contained in:
parent
1ea7ab1f42
commit
23f6fd1633
85 changed files with 246 additions and 496 deletions
|
@ -937,10 +937,6 @@ static void setupQuad( long xOff, long yOff )
|
|||
cin.oldysize = cinTable[currentHandle].ysize;
|
||||
cin.oldxsize = cinTable[currentHandle].xsize;
|
||||
|
||||
numQuadCels = (cinTable[currentHandle].CIN_WIDTH*cinTable[currentHandle].CIN_HEIGHT) / (16);
|
||||
numQuadCels += numQuadCels/4 + numQuadCels/16;
|
||||
numQuadCels += 64; // for overflow
|
||||
|
||||
numQuadCels = (cinTable[currentHandle].xsize*cinTable[currentHandle].ysize) / (16);
|
||||
numQuadCels += numQuadCels/4;
|
||||
numQuadCels += 64; // for overflow
|
||||
|
@ -1610,7 +1606,6 @@ void CIN_DrawCinematic (int handle) {
|
|||
|
||||
void CL_PlayCinematic_f(void) {
|
||||
char *arg, *s;
|
||||
qboolean holdatend;
|
||||
int bits = CIN_system;
|
||||
|
||||
Com_DPrintf("CL_PlayCinematic_f\n");
|
||||
|
@ -1621,7 +1616,6 @@ void CL_PlayCinematic_f(void) {
|
|||
arg = Cmd_Argv( 1 );
|
||||
s = Cmd_Argv(2);
|
||||
|
||||
holdatend = qfalse;
|
||||
if ((s && s[0] == '1') || Q_stricmp(arg,"demoend.roq")==0 || Q_stricmp(arg,"end.roq")==0) {
|
||||
bits |= CIN_hold;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue