Skip to content

Commit aeb9211

Browse files
committed
Mark unused variables to prevent compiler warnings if using older geos.
1 parent 94271b5 commit aeb9211

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/qgsmaptooloffsetcurve.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,9 @@ void QgsMapToolOffsetCurve::setOffsetForRubberBand( double offset, bool leftSide
374374
mRubberBand->setToGeometry( &mModifiedGeometry, sourceLayer );
375375
}
376376
}
377+
#else //GEOS_VERSION>=3.3
378+
Q_UNUSED(offset);
379+
Q_UNUSED(leftSide);
377380
#endif //GEOS_VERSION>=3.3
378381
}
379382

0 commit comments

Comments
 (0)