From 66dead284a69d3d520ba3b89934c5a47359b326e Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 9 Jan 2010 19:09:19 +0000 Subject: [PATCH] fix compile warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9823 d7cf8633-e32d-0410-b094-e92efae38249 --- model_shared.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/model_shared.c b/model_shared.c index 8e2d2a64..89087d7a 100644 --- a/model_shared.c +++ b/model_shared.c @@ -2651,9 +2651,6 @@ static void Mod_Decompile_SMD(dp_model_t *model, const char *filename, int first int poseindex; int cornerindex; const int *e; -#if 0 - const float *pose; -#endif size_t l; size_t outbufferpos = 0; size_t outbuffermax = 0x100000; @@ -2686,7 +2683,7 @@ static void Mod_Decompile_SMD(dp_model_t *model, const char *filename, int first l = dpsnprintf(outbuffer + outbufferpos, outbuffermax - outbufferpos, "time %i\n", poseindex); if (l > 0) outbufferpos += l; - for (transformindex = 0;transformindex < model->num_bones;transformindex++ /*, pose += 12 */) + for (transformindex = 0;transformindex < model->num_bones;transformindex++) { float a, b, c; float angles[3]; -- 2.39.2