Opened 9 years ago

Closed 9 years ago

#3212 closed defect (fixed)

subdivide nparts not used

Reported by: robe Owned by: pramsey
Priority: low Milestone: PostGIS 2.2.0
Component: postgis Version: master
Keywords: Cc:

Description

lwgeom.c: In function 'lwgeom_subdivide':
lwgeom.c:1999:6: warning: variable 'nparts' set but not used [-Wunused-but-set-variable]
  int nparts;
      ^

I'm guessing this is harmless, but we spent so much time cleaning up other things like this only to introduce more.

Change History (3)

comment:1 by pramsey, 9 years ago

Resolution: fixed
Status: newclosed

Used at r13835

comment:2 by robe, 9 years ago

Resolution: fixed
Status: closedreopened

I'm still getting this notice when I compile. Does maybe putting it in a debugf not count as being used? feel free to just mark this as won't fix if its a hassle.

lwgeom.c: In function 'lwgeom_subdivide':
lwgeom.c:1999:6: warning: variable 'nparts' set but not used [-Wunused-but-set-variable]
  int nparts;
      ^

comment:3 by pramsey, 9 years ago

Resolution: fixed
Status: reopenedclosed

ok, r13852

Note: See TracTickets for help on using tickets.