Fixed compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 25 Aug 2009 23:48:51 -0400
changeset 791 2a7dffefabd5
parent 790 0cf8abbbc9fa
child 792 e0c5fc7d71c3
Fixed compiler warning.
mojoshader_opengl.c
--- a/mojoshader_opengl.c	Tue Aug 25 23:47:11 2009 -0400
+++ b/mojoshader_opengl.c	Tue Aug 25 23:48:51 2009 -0400
@@ -1459,8 +1459,7 @@
             continue;  // nothing to see here.
 
         // only use arrays for 'c' registers.
-        const MOJOSHADER_uniformType type = u->type;
-        assert(type == MOJOSHADER_UNIFORM_FLOAT);
+        assert(u->type == MOJOSHADER_UNIFORM_FLOAT);
 
         // !!! FIXME: deal with this.
     } // for