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 committed Mar 30, 2012
1 parent 94271b5 commit aeb9211
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 aeb9211

Please sign in to comment.