Skip to content

Commit

Permalink
Fixed compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 1, 2011
1 parent 2ef291a commit 61c0e29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mojoshader_effects.c
Expand Up @@ -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++)
{
Expand All @@ -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);

Expand Down

0 comments on commit 61c0e29

Please sign in to comment.