svn merge ^/trunk/blender -r47070:47099
[blender.git] / source / blender / editors / gpencil / gpencil_paint.c
index f1b31446e4b781aef3c27786179bc262c3fe0363..89d8ed9c465db985c4aecb2d45b9c0103244b925 100644 (file)
@@ -526,7 +526,7 @@ static void gp_stroke_simplify(tGPsdata *p)
                co[0] += (float)(old_points[offs].x * sfac); \
                co[1] += (float)(old_points[offs].y * sfac); \
                pressure += old_points[offs].pressure * sfac; \
-       }
+       } (void)0
        
        for (i = 0, j = 0; i < num_points; i++) {
                if (i - j == 3) {