[PostGIS] #5558: Compilation warning: uninitialized variable

PostGIS trac at osgeo.org
Mon Nov 13 01:50:30 PST 2023


#5558: Compilation warning: uninitialized variable
---------------------------+---------------------------
  Reporter:  Laurenz Albe  |      Owner:  pramsey
      Type:  defect        |     Status:  new
  Priority:  medium        |  Milestone:  PostGIS 3.4.1
 Component:  postgis       |    Version:  master
Resolution:                |   Keywords:
---------------------------+---------------------------
Comment (by strk):

 I guess the intention there was to initialize to zero, judging from the
 FLAGS_SET_GEODETIC(gbox.flags, 0) which would have no other effects, given
 the definition of the macro uses bitwise OR... (that line should be
 replaced by initialization)
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5558#comment:3>
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