[postgis-tickets] [PostGIS] #3523: kmeans compile warnings
PostGIS
trac at osgeo.org
Fri Apr 8 12:49:18 PDT 2016
#3523: kmeans compile warnings
---------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: low | Milestone: PostGIS 2.3.0
Component: postgis | Version: trunk
Keywords: |
---------------------+---------------------------
{{{
lwkmeans.c: In function 'lwgeom_cluster_2d_kmeans':
lwkmeans.c:179:14: warning: 'min.x' may be used uninitialized in this
function [-Wmaybe-uninitialized]
dx = (max.x - min.x)/k;
^
lwkmeans.c:180:14: warning: 'min.y' may be used uninitialized in this
function [-Wmaybe-uninitialized]
dy = (max.y - min.y)/k;
^
lwkmeans.c:179:14: warning: 'max.x' may be used uninitialized in this
function [-Wmaybe-uninitialized]
dx = (max.x - min.x)/k;
^
lwkmeans.c:180:14: warning: 'max.y' may be used uninitialized in this
function [-Wmaybe-uninitialized]
dy = (max.y - min.y)/k;
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3523>
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