summaryrefslogtreecommitdiff
path: root/src/libtess2
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-22 04:17:43 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-10-22 04:17:43 -0700
commit352bd095d46d09e7d47bcb52874f23c4bd8faa51 (patch)
tree26cbc1bcdbd9a120dfe83972c2b3b7e2ff78a4cf /src/libtess2
parentfd5b07d353bbf4b108eb986a3066304a12411ba1 (diff)
downloadqtlocation-mapboxgl-352bd095d46d09e7d47bcb52874f23c4bd8faa51.tar.gz
GCC doesn't like #pragmas between the function declaration and definition
Diffstat (limited to 'src/libtess2')
-rwxr-xr-xsrc/libtess2/sweep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtess2/sweep.c b/src/libtess2/sweep.c
index 49559fa124..be3ee561ce 100755
--- a/src/libtess2/sweep.c
+++ b/src/libtess2/sweep.c
@@ -433,7 +433,6 @@ static void VertexWeights( TESSvertex *isect, TESSvertex *org, TESSvertex *dst,
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
@@ -447,6 +446,7 @@ static void GetIntersectData( TESStesselator *tess, TESSvertex *isect,
VertexWeights( isect, orgUp, dstUp, &weights[0] );
VertexWeights( isect, orgLo, dstLo, &weights[2] );
}
+#pragma GCC diagnostic pop
static int CheckForRightSplice( TESStesselator *tess, ActiveRegion *regUp )
/*