summaryrefslogtreecommitdiff
path: root/src/libtess2/sweep.c
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-22 12:41:10 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-10-22 12:41:10 +0200
commit5d6748f8fee0fe9d7aa0da0d9ff26de1c8044815 (patch)
treeea974f9dda6f77c206f553ac3977713cfa48a318 /src/libtess2/sweep.c
parent8df906e2bcc6eed8968b37068317f7bfb1ab33f0 (diff)
downloadqtlocation-mapboxgl-5d6748f8fee0fe9d7aa0da0d9ff26de1c8044815.tar.gz
fix compile warnings in libtess2
Diffstat (limited to 'src/libtess2/sweep.c')
-rwxr-xr-xsrc/libtess2/sweep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libtess2/sweep.c b/src/libtess2/sweep.c
index 0204d3e8a3..49559fa124 100755
--- a/src/libtess2/sweep.c
+++ b/src/libtess2/sweep.c
@@ -428,9 +428,12 @@ static void VertexWeights( TESSvertex *isect, TESSvertex *org, TESSvertex *dst,
}
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
static void GetIntersectData( TESStesselator *tess, TESSvertex *isect,
TESSvertex *orgUp, TESSvertex *dstUp,
TESSvertex *orgLo, TESSvertex *dstLo )
+#pragma GCC diagnostic pop
/*
* We've computed a new intersection point, now we need a "data" pointer
* from the user so that we can refer to this new vertex in the