]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/picomodel/lwo/lwob.c
more warnings done. Now q3map2 is warning free apart from libpng deprecation problems.
[xonotic/netradiant.git] / libs / picomodel / lwo / lwob.c
index f12e3a362b86a9fe4bd4bbdda60a2827bcd28ae0..cb2a70eae4de33a2d1e13ec91f3438f6a6d2e9f0 100644 (file)
@@ -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;