Fix warnings when building with POLYMER=0.

git-svn-id: https://svn.eduke32.com/eduke32@1809 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2011-02-27 21:07:37 +00:00
parent 619d3c8c9e
commit fedab48ad2
2 changed files with 6 additions and 1 deletions

View file

@ -7231,7 +7231,9 @@ int32_t loadboard(char *filename, char flags, int32_t *daposx, int32_t *daposy,
int16_t *daang, int16_t *dacursectnum) int16_t *daang, int16_t *dacursectnum)
{ {
int16_t fil, i, numsprites, dq[MAXSPRITES], dnum = 0; int16_t fil, i, numsprites, dq[MAXSPRITES], dnum = 0;
#ifdef POLYMER
char myflags = flags&(~3); char myflags = flags&(~3);
#endif
flags &= 3; flags &= 3;

View file

@ -1813,8 +1813,11 @@ int md3postload_polymer(md3model_t *m)
surfi++; surfi++;
} }
return 1; #else
UNREFERENCED_PARAMETER(m);
#endif #endif
return 1;
} }