]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fix GCC 11 warns: Mod_INTERQUAKEMODEL_Load misleading indentation
authorbones_was_here <bones_was_here@xa.org.au>
Fri, 10 Jun 2022 23:21:35 +0000 (09:21 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 20 Sep 2022 18:10:12 +0000 (04:10 +1000)
Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
model_alias.c

index 11ac0d2830e1a0f3d556d1954824c4baaba4f530..46375f962f0798e04917d777590fd81b2ca5b4e7 100644 (file)
@@ -3898,8 +3898,8 @@ void Mod_INTERQUAKEMODEL_Load(model_t *mod, void *buffer, void *bufferend)
                loadmodel->PointSuperContents = Mod_CollisionBIH_PointSuperContents_Mesh;
        }
 
-       if (joint        ) Mem_Free(joint        );joint         = NULL;
-       if (joint1       ) Mem_Free(joint1       );joint1        = NULL;
-       if (pose         ) Mem_Free(pose         );pose          = NULL;
-       if (pose1        ) Mem_Free(pose1        );pose1         = NULL;
+       if (joint)  { Mem_Free(joint);  joint  = NULL; }
+       if (joint1) { Mem_Free(joint1); joint1 = NULL; }
+       if (pose)   { Mem_Free(pose);   pose   = NULL; }
+       if (pose1)  { Mem_Free(pose1);  pose1  = NULL; }
 }