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