Fixed all gcc 4 warnings in blenkernel. Found 2 potentially harmful
[blender.git] / source / blender / blenkernel / intern / modifier.c
index bf8d8218e598b259678e37b238cf8c9a79262762..fe457689c8f4c9cd674208b197943404d080863e 100644 (file)
@@ -3249,7 +3249,7 @@ static void hookModifier_deformVerts(
                Mesh *me = ob->data;
                int index = 0;
                int use_dverts;
-               int maxVerts;
+               int maxVerts = 0;
                
                /* find the group (weak loop-in-loop) */
                for(curdef = ob->defbase.first; curdef; curdef = curdef->next, index++)