Changeset 722886f in git


Ignore:
Timestamp:
16/06/10 16:04:42 (9 years ago)
Author:
Olly Betts <olly@…>
Branches:
svn/1.0, svn/tags/1.0.40
Children:
6a6cb97
Parents:
94132ec
Message:

src/gfxcore.cc: Initialise m_MouseOutsideCompass and
m_MouseOutsideElev to avoid using them potentially uninitialised.

git-svn-id: file:///home/survex-svn/survex/branches/1.0@3443 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r94132ec r722886f  
     1Wed Jun 16 15:04:03 GMT 2010  Olly Betts <olly@survex.com>
     2
     3        * src/gfxcore.cc: Initialise m_MouseOutsideCompass and
     4          m_MouseOutsideElev to avoid using them potentially uninitialised.
     5
    16Wed Jun 16 14:41:47 GMT 2010  Olly Betts <olly@survex.com>
    27
  • src/gfxcore.cc

    r94132ec r722886f  
    156156    m_there.x = DBL_MAX;
    157157    clipping = false;
     158
     159    m_MouseOutsideCompass = m_MouseOutsideElev = false;
    158160
    159161    // Create pens and brushes for drawing.
Note: See TracChangeset for help on using the changeset viewer.