Skip to content
Permalink
Browse files
Fixed compiler warnings.
  • Loading branch information
icculus committed Jun 1, 2011
1 parent 2ef291a commit 61c0e29590c4c86d6e2ebb27c16db05ed0f18224

File 1 of 1 in 61c0e29

@@ -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);

0 comments on commit 61c0e29

Please sign in to comment.