]> granicus.if.org Git - postgis/commitdiff
Remove duplicate strcmp(), closes #4154
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 23 Aug 2018 12:45:27 +0000 (12:45 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 23 Aug 2018 12:45:27 +0000 (12:45 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16702 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/lwgeom_geos.c

index 7ad59262ece0649f91f4e79b56f4a8bb7e3718d4..e618a87c65db04a460a0ec9c22410427c2a57753 100644 (file)
@@ -935,8 +935,7 @@ Datum buffer(PG_FUNCTION_ARGS)
                                /* quadrant segments is an int */
                                quadsegs = atoi(val);
                        }
-                       else if ( !strcmp(key, "side") ||
-                                         !strcmp(key, "side") )
+                       else if ( !strcmp(key, "side") )
                        {
                                if ( !strcmp(val, "both") )
                                {