X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=libs%2Fpicomodel%2Flwo%2Flwob.c;fp=libs%2Fpicomodel%2Flwo%2Flwob.c;h=cb2a70eae4de33a2d1e13ec91f3438f6a6d2e9f0;hb=bf4ab34b0aeb68932c4a1c0e6505ab07917fa93b;hp=f12e3a362b86a9fe4bd4bbdda60a2827bcd28ae0;hpb=7db8ac995293099d550a868f31c4a0b471fc4ad8;p=xonotic%2Fnetradiant.git diff --git a/libs/picomodel/lwo/lwob.c b/libs/picomodel/lwo/lwob.c index f12e3a36..cb2a70ea 100644 --- a/libs/picomodel/lwo/lwob.c +++ b/libs/picomodel/lwo/lwob.c @@ -712,7 +712,7 @@ Fail: 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 */ @@ -723,7 +723,7 @@ int lwValidateObject5( const char *filename, picoMemStream_t *fp, unsigned int * set_flen( 0 ); id = getU4( fp ); - formsize = getU4( fp ); + /* formsize = */ getU4( fp ); type = getU4( fp ); if ( 12 != get_flen() ) { return PICO_PMV_ERROR_SIZE;