X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=libs%2Fpicomodel%2Flwo%2Flwo2.c;h=9e45bfa1fe57f1f928334dc221cc781b4907096f;hb=bf4ab34b0aeb68932c4a1c0e6505ab07917fa93b;hp=56c756c325d62302ea700d922999bf7ca05e28c9;hpb=7db8ac995293099d550a868f31c4a0b471fc4ad8;p=xonotic%2Fnetradiant.git diff --git a/libs/picomodel/lwo/lwo2.c b/libs/picomodel/lwo/lwo2.c index 56c756c3..9e45bfa1 100644 --- a/libs/picomodel/lwo/lwo2.c +++ b/libs/picomodel/lwo/lwo2.c @@ -272,7 +272,7 @@ Fail: 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 */ @@ -282,7 +282,7 @@ int lwValidateObject( const char *filename, picoMemStream_t *fp, unsigned int *f set_flen( 0 ); id = getU4( fp ); - formsize = getU4( fp ); + /* formsize = */ getU4( fp ); type = getU4( fp ); if ( 12 != get_flen() ) { return PICO_PMV_ERROR_SIZE;