Bug report #3913

QgsProjectionSelector::getCurrentLongAttribute has incomplete return path

Added by Mateusz Loskot - over 14 years ago. Updated almost 11 years ago.

Status:Closed
Priority:Low
Assignee:Gary Sherman
Category:Build/Install
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:duplicate
Crashes QGIS or corrupts data: Copied to github as #:13937

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.

History

#1 Updated by Gary Sherman over 14 years ago

  • Resolution set to duplicate
  • Status changed from Open to Closed

#2 Updated by Anonymous almost 11 years ago

Milestone Version 0.8 deleted

Also available in: Atom PDF