[postgis-tickets] [PostGIS] #3051: ptarray.c:1326:43: warning: 'end' may be used uninitialized in this function

PostGIS trac at osgeo.org
Mon Feb 23 01:15:16 PST 2015


#3051: ptarray.c:1326:43: warning: 'end' may be used uninitialized in this
function
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.2.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 {{{
 rev file at 13255
 ptarray.c: In function 'ptarray_locate_point':
 ptarray.c:1326:43: warning: 'end' may be used uninitialized in this
 function [-Wmaybe-uninitialized]
   if ( (seg >= (pa->npoints-2)) && p2d_same(&proj, end) )
                                            ^
 }}}

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