From 1c15beb6b225826c0a0d83d4df58a0bac7ce0ed5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 13 Jul 2013 14:16:59 +0000 Subject: remove NULL checks on fixed size arrays, also was calling BLI_testextensie_glob every time in the file selector with a blank string. --- source/blender/modifiers/intern/MOD_screw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/modifiers/intern') diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c index 5faa1ecdaac..0d098db3203 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -636,7 +636,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, * * Use the edge order to make the subtraction, flip the normal the right way * edge should be there but check just in case... */ - if (vc->e && vc->e[0]->v1 == i) { + if (vc->e[0]->v1 == i) { sub_v3_v3(tmp_vec1, tmp_vec2); } else { -- cgit v1.2.3