Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Oct 10, 2015
1 parent b65d962 commit cf0fe9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsadvanceddigitizingcanvasitem.cpp
Expand Up @@ -173,7 +173,7 @@ void QgsAdvancedDigitizingCanvasItem::paint( QPainter* painter )
// Draw x
if ( mAdvancedDigitizingDockWidget->constraintX()->isLocked() )
{
double x;
double x = 0.0;
bool draw = true;
painter->setPen( mLockedPen );
if ( mAdvancedDigitizingDockWidget->constraintX()->relative() )
Expand Down Expand Up @@ -203,7 +203,7 @@ void QgsAdvancedDigitizingCanvasItem::paint( QPainter* painter )
// Draw y
if ( mAdvancedDigitizingDockWidget->constraintY()->isLocked() )
{
double y;
double y = 0.0;
bool draw = true;
painter->setPen( mLockedPen );
if ( mAdvancedDigitizingDockWidget->constraintY()->relative() )
Expand Down

0 comments on commit cf0fe9a

Please sign in to comment.