diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-07-29 12:27:00 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 22:36:34 +0000 |
commit | e7c06719510940898e1f7f8215f4137202611308 (patch) | |
tree | 0aec0bf91daa568d8cb4a1c412037ca26b2f92a6 /src/renderer/tr_model.c | |
parent | 76544bcec46127587d183a90e5ff817a71e1f139 (diff) |
Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
Diffstat (limited to 'src/renderer/tr_model.c')
-rw-r--r-- | src/renderer/tr_model.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/tr_model.c b/src/renderer/tr_model.c index 06473367..ce0bbdf7 100644 --- a/src/renderer/tr_model.c +++ b/src/renderer/tr_model.c @@ -932,7 +932,7 @@ static qboolean R_LoadMD4( model_t *mod, void *buffer, const char *mod_name ) { // swap all the frames frameSize = (size_t)( &((md4Frame_t *)0)->bones[ md4->numBones ] ); - for ( i = 0 ; i < md4->numFrames ; i++, frame++) { + for ( i = 0 ; i < md4->numFrames ; i++) { frame = (md4Frame_t *) ( (byte *)md4 + md4->ofsFrames + i * frameSize ); frame->radius = LittleFloat( frame->radius ); for ( j = 0 ; j < 3 ; j++ ) { |