From ac61104df7df1b452666a037aeac55d5b71da85d Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Fri, 23 Aug 2019 17:25:01 +0200 Subject: Eliminate clang warnings -Winfinite-recursion -Wpessimizing-move -Wunused-label -Wunneeded-internal-declaration -Wself-assign-overloaded -Wunused-const-variable (some) -Wsometimes-uninitialized (some) --- src/gradient-drag.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/gradient-drag.cpp') diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp index 681268991..88247a21a 100644 --- a/src/gradient-drag.cpp +++ b/src/gradient-drag.cpp @@ -66,12 +66,6 @@ guint32 const GR_KNOT_COLOR_SELECTED = 0x0000ff00; guint32 const GR_KNOT_COLOR_HIGHLIGHT = 0xffffff00; guint32 const GR_KNOT_COLOR_MESHCORNER = 0xbfbfbf00; -guint32 const GR_LINE_COLOR_FILL = 0x0000ff7f; -guint32 const GR_LINE_COLOR_STROKE = 0x9999007f; - -// screen pixels between knots when they snap: -#define SNAP_DIST 5 - // absolute distance between gradient points for them to become a single dragger when the drag is created: #define MERGE_DIST 0.1 -- cgit v1.2.3