summaryrefslogtreecommitdiff
path: root/server/epdfinfo.c
diff options
context:
space:
mode:
authorAndreas Politz <politza@hochschule-trier.de>2015-07-16 23:16:46 +0200
committerAndreas Politz <politza@hochschule-trier.de>2015-07-16 23:16:46 +0200
commit1bf74170ab94fdb2f43401677d50417907d6f10d (patch)
tree606a2ffaf259afc10c44aa397beef83a088997cf /server/epdfinfo.c
parent787762d3ad86fcba2ce81889f56968dc8b475d97 (diff)
Avoid gcc warning
*server/epdfinfo.c(annotation_print): Make error label conditional.
Diffstat (limited to 'server/epdfinfo.c')
-rw-r--r--server/epdfinfo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/epdfinfo.c b/server/epdfinfo.c
index 4092ac4..1ece68a 100644
--- a/server/epdfinfo.c
+++ b/server/epdfinfo.c
@@ -1599,7 +1599,10 @@ annotation_print (const annotation_t *annot, /* const */ PopplerPage *page)
}
#endif
putchar ('\n');
- theend: error:
+ theend:
+#ifdef HAVE_POPPLER_ANNOT_MARKUP
+ error:
+#endif
if (region) cairo_region_destroy (region);
}