int lwValidateObject( const char *filename, picoMemStream_t *fp, unsigned int *failID, int *failpos )
{
- unsigned int id, formsize, type;
+ unsigned int id, type;
/* open the file */
set_flen( 0 );
id = getU4( fp );
- formsize = getU4( fp );
+ /* formsize = */ getU4( fp );
type = getU4( fp );
if ( 12 != get_flen() ) {
return PICO_PMV_ERROR_SIZE;
int lwValidateObject5( const char *filename, picoMemStream_t *fp, unsigned int *failID, int *failpos )
{
- unsigned int id, formsize, type;
+ unsigned int id, type;
/* open the file */
set_flen( 0 );
id = getU4( fp );
- formsize = getU4( fp );
+ /* formsize = */ getU4( fp );
type = getU4( fp );
if ( 12 != get_flen() ) {
return PICO_PMV_ERROR_SIZE;
{
int i, j, dups, dup_index;
int fm_file_pos;
- short tot_numVerts;
index_LUT_t *p_index_LUT, *p_index_LUT2, *p_index_LUT3;
index_DUP_LUT_t *p_index_LUT_DUPS;
}
// Fill in Look Up Table, and allocate/fill Linked List from vert array as needed for dup STs per Vert.
- tot_numVerts = fm_head->numXYZ;
dups = 0;
triangle = tri_verts;
static picoModel_t *_md2_load( PM_PARAMS_LOAD )
{
int i, j, dups, dup_index;
- short tot_numVerts;
index_LUT_t *p_index_LUT, *p_index_LUT2, *p_index_LUT3;
index_DUP_LUT_t *p_index_LUT_DUPS;
md2Triangle_t *p_md2Triangle;
}
// Fill in Look Up Table, and allocate/fill Linked List from vert array as needed for dup STs per Vert.
- tot_numVerts = md2->numXYZ;
dups = 0;
for(i=0; i<md2->numTris; i++)
{
{
byte *out;
int i;
- int bfSize;
int bfOffBits;
int structSize;
int bcWidth;
Error ("%s is not a bmp file", filename);
}
- bfSize = bufLittleLong (in, len, &pos);
+ /* bfSize = */ bufLittleLong (in, len, &pos);
bufLittleShort(in, len, &pos);
bufLittleShort(in, len, &pos);
bfOffBits = bufLittleLong (in, len, &pos);
==============
*/
qboolean TokenAvailable (void) {
- int oldLine, oldScriptLine;
+ int oldLine;
qboolean r;
/* save */
oldLine = scriptline;
- oldScriptLine = script->line;
/* test */
r = GetToken( qtrue );