Bug report #10

QgsProjectionSelector::getCurrentLongAttribute has incomplete return path

Added by Mateusz Loskot - over 13 years ago. Updated about 10 years ago.

Status:Closed
Priority:Low
Assignee:Gary Sherman
Category:Projection Support
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:10094

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.

Associated revisions

Revision 4fa2d65e
Added by Tim Sutton almost 12 years ago

This is a test commit for svn maintenance. Please ignore.
refs #10 see also #22

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision d404b6ed
Added by Tim Sutton almost 12 years ago

This is a test commit for svn maintenance. Please ignore.
refs #10 see also #22

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Gavin Macaulay - over 13 years ago

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

Fixed in svn 54681bdb (SVN r5299)

#2 Updated by Anonymous about 10 years ago

Milestone Version 0.8 deleted

Also available in: Atom PDF