Bug report #3913

QgsProjectionSelector::getCurrentLongAttribute has incomplete return path

Added by Mateusz Loskot - over 18 years ago. Updated almost 15 years ago.

Assignee:Gary Sherman
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


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.


#1 Updated by Gary Sherman over 18 years ago

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

#2 Updated by Anonymous almost 15 years ago

Milestone Version 0.8 deleted

Also available in: Atom PDF