diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-06 16:51:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-06 16:51:17 +0400 |
commit | 3882f7cde740ee0fd74b0da3ef7f6044d894df71 (patch) | |
tree | c82afd5d7a0cb445152bdab0b01761bdfb9d1bc9 /source/blender/modifiers/intern/MOD_build.c | |
parent | 91c2aa7b95a7681ec839c5f8fd91a89980bab99f (diff) |
quiet some warnings and fix build error with strict casting rules.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_build.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_build.c b/source/blender/modifiers/intern/MOD_build.c index 2399f6e8fc4..b7f25f126cd 100644 --- a/source/blender/modifiers/intern/MOD_build.c +++ b/source/blender/modifiers/intern/MOD_build.c @@ -88,7 +88,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *UNUSED(ob), int *vertMap, *edgeMap, *faceMap; float frac; MPoly *mpoly_dst; - MLoop *ml_dst, *ml_src, *mloop_dst; + MLoop *ml_dst, *ml_src /*, *mloop_dst */; GHashIterator *hashIter; /* maps vert indices in old mesh to indices in new mesh */ GHash *vertHash = BLI_ghash_new(BLI_ghashutil_inthash, @@ -261,7 +261,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *UNUSED(ob), } mpoly_dst = CDDM_get_polys(result); - mloop_dst = ml_dst = CDDM_get_loops(result); + /* mloop_dst = */ ml_dst = CDDM_get_loops(result); /* copy the faces across, remapping indices */ k = 0; |