Skip to content

Commit

Permalink
Mark unused variables to prevent compiler warnings if using older geos.
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux authored and alexbruy committed Apr 7, 2012
1 parent 792b9e9 commit 763c741
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgsmaptooloffsetcurve.cpp
Expand Up @@ -374,6 +374,9 @@ void QgsMapToolOffsetCurve::setOffsetForRubberBand( double offset, bool leftSide
mRubberBand->setToGeometry( &mModifiedGeometry, sourceLayer );
}
}
#else //GEOS_VERSION>=3.3
Q_UNUSED(offset);
Q_UNUSED(leftSide);
#endif //GEOS_VERSION>=3.3
}

Expand Down

0 comments on commit 763c741

Please sign in to comment.