Opened 18 years ago
Last modified 16 years ago
#64 closed defect (fixed)
Not all control paths return a value in geos::geom::Geometry::getClassSortIndex
Reported by: | mloskot | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | 3.0.0 |
Severity: | Significant | Keywords: | imported, phpbugtracker |
Cc: |
Description (last modified by )
Following warning message explains the problem:
geossourcegeomgeometry.cpp(611) : warning C4715: 'geos::geom::Geometry::getClassSortIndex' : not all control paths return a value
There is assert(0) but asserts are turned off when GEOS is compiled in release mode, so I suspect undefined behaviour for unsupported types of geometry: return value will be uninitialized int value!!!
Change History (2)
comment:1 by , 18 years ago
Resolution: | none → fixed |
---|
comment:2 by , 16 years ago
Description: | modified (diff) |
---|---|
Milestone: | imported |
Priority: | 3 → major |
Reporter: | changed from | to
Severity: | Unassigned → Significant |
Note:
See TracTickets
for help on using tickets.