#5 closed bug (fixed)
QgsVectorLayer::vectorType - incomplete return path
Reported by: | mloskot | Owned by: | gsherman |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | |
Component: | Vectors | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description (last modified by )
File qgis/src/gui/qgsvectorlayer.cpp, line 1250
In the member function !QgsVectorLayer::vectorType, not all control paths return a value. Returned value of type of QGis::VectorType can be uninitialized -> undefined behaviour.
Change History (5)
comment:1 by , 18 years ago
Type: | defect → bug |
---|
comment:2 by , 18 years ago
Description: | modified (diff) |
---|
comment:3 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 17 years ago
Awaiting user input: | unset |
---|---|
Must Fix for Release: | → No |
Note:
See TracTickets
for help on using tickets.
Fixed in SVN r5279