Skip to content

Commit

Permalink
Add warning suppressor
Browse files Browse the repository at this point in the history
  • Loading branch information
pramsey committed Jun 19, 2023
1 parent 523ab15 commit 414d4b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/geom/HeuristicOverlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ HeuristicOverlay(const Geometry* g0, const Geometry* g1, int opCode)
#endif
}
catch(const geos::util::IllegalArgumentException& ex) {
::geos::ignore_unused_variable_warning(ex);

#if GEOS_DEBUG_HEURISTICOVERLAY
std::cerr << "OverlayNGRobust: " << ex.what() << std::endl;
#endif
Expand Down

0 comments on commit 414d4b1

Please sign in to comment.