Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#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 gsherman)

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 mloskot, 18 years ago

Type: defectbug

comment:2 by gsherman, 18 years ago

Description: modified (diff)

comment:3 by g_j_m, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in SVN r5279

comment:4 by anonymous, 17 years ago

Awaiting user input: unset
Must Fix for Release: No

comment:5 by (none), 15 years ago

Milestone: Version 0.8

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.