Opened 9 years ago

Closed 9 years ago

#3320 closed defect (fixed)

Compiler warnings in lwgeom_topo.c

Reported by: dbaston Owned by: strk
Priority: high Milestone: PostGIS 2.2.0
Component: topology Version: master
Keywords: Cc:

Description

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)

Change History (4)

comment:1 by robe, 9 years ago

Component: postgistopology
Owner: changed from pramsey to strk

comment:2 by strk, 9 years ago

Status: newassigned

I'm not seeing those warnings with -Wall, what are you using ? See also #3037.

comment:3 by robe, 9 years ago

For the record, I don't see those warnings on either of the bots (windows or debian)

comment:4 by strk, 9 years ago

Resolution: fixed
Status: assignedclosed

All warnings should be fixed with r14205

Note: See TracTickets for help on using tickets.