Ticket #9 (closed bug: duplicate)

Opened 7 years ago

Last modified 4 years ago

QgsProjectionSelector::getCurrentLongAttribute has incomplete return path

Reported by: mloskot Owned by: gsherman
Priority: minor: annoyance Milestone:
Component: Build/Install Version: Trunk
Keywords: Cc:
Platform Version: Platform: All
Must Fix for Release: No Awaiting user input: no

Description

In member function QgsProjectionSelector::getCurrentLongAttribute, file qgis/src/widgets/projectionselector/qgsprojectionselector.cpp(414), not all control paths return a value

Possible problem is that return value of long type may be uninitialized - invalid.

Change History

Changed 7 years ago by gsherman

  • status changed from new to closed
  • resolution set to duplicate

Changed 6 years ago by anonymous

  • status_info unset
  • must_fix set to No

Changed 4 years ago by anonymous

  • milestone Version 0.8 deleted

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.