From 61c0e29590c4c86d6e2ebb27c16db05ed0f18224 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 1 Jun 2011 02:11:57 -0400 Subject: [PATCH] Fixed compiler warnings. --- mojoshader_effects.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mojoshader_effects.c b/mojoshader_effects.c index d79fe35f..2900239a 100644 --- a/mojoshader_effects.c +++ b/mojoshader_effects.c @@ -260,8 +260,8 @@ const MOJOSHADER_effect *MOJOSHADER_parseEffect(const char *profile, goto parseEffect_unexpectedEOF; const uint32 typeoffset = readui32(&ptr, &len); - const uint32 valoffset = readui32(&ptr, &len); - const uint32 flags = readui32(&ptr, &len); + /*const uint32 valoffset =*/ readui32(&ptr, &len); + /*const uint32 flags =*/ readui32(&ptr, &len); const uint32 numannos = readui32(&ptr, &len); for (j = 0; j < numannos; j++) { @@ -274,8 +274,8 @@ const MOJOSHADER_effect *MOJOSHADER_parseEffect(const char *profile, const uint8 *typeptr = base + typeoffset; unsigned int typelen = 9999999; // !!! FIXME - const uint32 paramtype = readui32(&typeptr, &typelen); - const uint32 paramclass = readui32(&typeptr, &typelen); + /*const uint32 paramtype =*/ readui32(&typeptr, &typelen); + /*const uint32 paramclass =*/ readui32(&typeptr, &typelen); const uint32 paramname = readui32(&typeptr, &typelen); const uint32 paramsemantic = readui32(&typeptr, &typelen);