[postgis-tickets] [PostGIS] #3320: Compiler warnings in lwgeom_topo.c

PostGIS trac at osgeo.org
Wed Oct 7 05:36:01 PDT 2015


#3320: Compiler warnings in lwgeom_topo.c
---------------------+---------------------------
 Reporter:  dbaston  |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  high     |  Milestone:  PostGIS 2.2.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 I'm haven't worked w/this functionality, so these may be irrelevant, but
 it seemed that No. 1 and 2 were not.

 line 1382: parameter "ref" is never used

 lines 3504 and 3516: if conditions check if variable does not equal itself
 (span_pre.nextCCW != span_pre.nextCCW)

 line 4975: variable mindist is used but never initialized (I realize
 current usage is safe)

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3320>
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