Fixed compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 17 Apr 2013 23:32:53 -0400
changeset 1129 908551a4334c
parent 1128 a66416e507d1
child 1130 80fc68215dec
Fixed compiler warning.
mojoshader_preprocessor.c
--- a/mojoshader_preprocessor.c	Wed Apr 17 23:30:10 2013 -0400
+++ b/mojoshader_preprocessor.c	Wed Apr 17 23:32:53 2013 -0400
@@ -478,7 +478,7 @@
             return 0;
 
         const size_t len = snprintf(str, bufsize, "%u", state->line);
-        assert(len < bufsize);
+        assert(len < bufsize); (void) len;
         ctx->line_macro->definition = str;
         return ctx->line_macro;
     } // else