Skip to content

Commit

Permalink
fixed unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvergara committed Jan 13, 2018
1 parent 2d49b1b commit 4a13a7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class RectangleIntersectsPerfTest
}

// Push newly created geoms to rectLit
void createRectangles(const Envelope& env, int nRect, double rectSize,
void createRectangles(const Envelope& env, int nRect, double,
vector<const Geometry*>& rectList)
{
int nSide = 1 + (int)sqrt((double) nRect);
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/capi/GEOSSTRtreeTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static GEOSGeometry* INTPOINT2GEOS(INTPOINT* p) {
return GEOSGeom_createPoint(seq);
}

static int INTPOINT_dist(const void* a, const void* b, double* distance, void* userdata) {
static int INTPOINT_dist(const void* a, const void* b, double* distance, void*) {
INTPOINT* p1 = (INTPOINT*) a;
INTPOINT* p2 = (INTPOINT*) b;

Expand Down
2 changes: 1 addition & 1 deletion tests/xmltester/XMLTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ usage(char *me, int exitcode, std::ostream &os)
}

void
request_interrupt(int sig)
request_interrupt(int)
{
geos::util::Interrupt::request();
}
Expand Down

0 comments on commit 4a13a7f

Please sign in to comment.