[Bf-blender-cvs] [7aecb018f64] master: =Fix unused func warning in GP code...
Bastien Montagne
noreply at git.blender.org
Fri Jan 11 20:15:00 CET 2019
Commit: 7aecb018f6476defa9222a251a097a4187784a15
Author: Bastien Montagne
Date: Fri Jan 11 20:14:25 2019 +0100
Branches: master
https://developer.blender.org/rB7aecb018f6476defa9222a251a097a4187784a15
=Fix unused func warning in GP code...
===================================================================
M source/blender/editors/gpencil/gpencil_paint.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index e115e415d95..b6b70ff3dfd 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -2622,7 +2622,7 @@ static float gp_snap_to_grid_fl(float v, const float offset, const float spacing
return v;
}
-static void gp_snap_to_grid_v2(float v[2], const float offset[2], const float spacing)
+static void UNUSED_FUNCTION(gp_snap_to_grid_v2)(float v[2], const float offset[2], const float spacing)
{
v[0] = gp_snap_to_grid_fl(v[0], offset[0], spacing);
v[1] = gp_snap_to_grid_fl(v[1], offset[1], spacing);
More information about the Bf-blender-cvs
mailing list