From d5ff02ad558ba17173ac41246dbb3e77cf5f28c9 Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Sat, 18 Jul 2020 23:55:27 +0100 Subject: [PATCH] Fix compiler warning - those extra brackets aren't needed --- libs/kimath/src/trigo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/kimath/src/trigo.cpp b/libs/kimath/src/trigo.cpp index 3f7919d882..5ee1e13095 100644 --- a/libs/kimath/src/trigo.cpp +++ b/libs/kimath/src/trigo.cpp @@ -367,7 +367,7 @@ const VECTOR2D GetArcCenter( const VECTOR2D& aStart, const VECTOR2D& aMid, const double aSlope = yDelta_21 / xDelta_21; double bSlope = yDelta_32 / xDelta_32; - if( ( aSlope == bSlope ) ) + if( aSlope == bSlope ) { if( aStart == aEnd ) {