[postgis-tickets] [PostGIS] #3628: lwgeom_functions_basic.c:2637]: (style) Same expression on both sides of '||'.

PostGIS trac at osgeo.org
Fri Sep 9 04:24:50 PDT 2016


#3628: lwgeom_functions_basic.c:2637]: (style) Same expression on both sides of
'||'.
---------------------+---------------------------
 Reporter:  dcb      |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.3.0
Component:  postgis  |    Version:  2.2.x
 Keywords:           |
---------------------+---------------------------
 Source code is

   if ( n == 'y' || n == 'y' ) return LWORD_Y;

 Maybe better code

   if ( n == 'y' || n == 'Y' ) return LWORD_Y;

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3628>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list