Skip to content
Permalink
Browse files

remove warnings

  • Loading branch information
3nids committed Dec 11, 2014
1 parent 0ba3f5b commit e1156164c81e69713604af8627c196d0f4663b23
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgsadvanceddigitizingdockwidget.cpp
@@ -356,7 +356,7 @@ void QgsAdvancedDigitizingDockWidget::triggerMouseMoveEvent()
void QgsAdvancedDigitizingDockWidget::lockConstraint( bool activate /* default true */ )
{
QObject* obj = sender();
CadConstraint* constraint;
CadConstraint* constraint = NULL;
if ( obj == mAngleLineEdit || obj == mLockAngleButton )
{
constraint = mAngleConstraint;
@@ -747,7 +747,7 @@ bool QgsAdvancedDigitizingDockWidget::applyConstraints( QgsMapMouseEvent* e )
// --- angle
if ( !mAngleConstraint->isLocked() && previousPointExist )
{
double angle;
double angle = 0.0;
if ( penulPointExist && mAngleConstraint->relative() )
{
// previous angle

0 comments on commit e115616

Please sign in to comment.
You can’t perform that action at this time.