Cleanup
authorCampbell Barton <ideasman42@gmail.com>
Sat, 26 Dec 2015 04:32:37 +0000 (15:32 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 26 Dec 2015 04:34:55 +0000 (15:34 +1100)
source/blender/editors/space_view3d/view3d_edit.c
source/blender/modifiers/intern/MOD_uvwarp.c

index 606f32ef776e4d2b2217ca43700a1e20a9d20b21..f759a0e28c9fc115a807b67242582ff5b0f8d03f 100644 (file)
@@ -2883,7 +2883,7 @@ static void view3d_from_minmax(bContext *C, View3D *v3d, ARegion *ar,
                ED_view3d_smooth_view(
                        C, v3d, ar, smooth_viewtx,
                        &(const V3D_SmoothParams){
-                           .camera_old=v3d->camera, .ofs = new_ofs,
+                           .camera_old = v3d->camera, .ofs = new_ofs,
                            .dist = ok_dist ? &new_dist : NULL});
        }
        else {
index 7585198a80744ce805efb21bd4a0e5571f7cd7a7..34346851318904e5b979e883b52f9c43d5dfe500 100644 (file)
@@ -150,7 +150,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
                                   ModifierApplyFlag UNUSED(flag))
 {
        UVWarpModifierData *umd = (UVWarpModifierData *) md;
-       int i, numPolys, numLoops;
+       int numPolys, numLoops;
        MPoly *mpoly;
        MLoop *mloop;
        MLoopUV *mloopuv;