reduce the amount of compiler warnings for variable shadowing

This commit is contained in:
/dev/humancontroller authored and Zack Middleton committed 2013-05-30 15:43:20 -05:00
1 parent 1d0a044de3
commit bbd17d75ce
8 files changed
+2 -9

No files matched your search

+1 -1
View File
@@ -206,7 +206,7 @@ qboolean R_LoadIQM( model_t *mod, void *buffer, int filesize, const char *mod_na
}
vertexarray = (iqmVertexArray_t *)((byte *)header + header->ofs_vertexarrays);
for( i = 0; i < header->num_vertexarrays; i++, vertexarray++ ) {
int j, n, *intPtr;
int n, *intPtr;
if( vertexarray->size <= 0 || vertexarray->size > 4 ) {
return qfalse;
-2
View File
@@ -157,7 +157,6 @@ static int R_DlightSurface( msurface_t *surf, int dlightBits ) {
if ( surf->cullinfo.type & CULLINFO_PLANE )
{
int i;
for ( i = 0 ; i < tr.refdef.num_dlights ; i++ ) {
if ( ! ( dlightBits & ( 1 << i ) ) ) {
continue;
@@ -238,7 +237,6 @@ static int R_PshadowSurface( msurface_t *surf, int pshadowBits ) {
if ( surf->cullinfo.type & CULLINFO_PLANE )
{
int i;
for ( i = 0 ; i < tr.refdef.num_pshadows ; i++ ) {
if ( ! ( pshadowBits & ( 1 << i ) ) ) {
continue;