From 9f19f325362fa8cfa5a1a35164518dace4fac2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 13 Feb 2017 19:19:51 +0100 Subject: [PATCH] Remove compile warning (#140) When using `./configure CFLAGS="-Wall -O2 -g"` we get an "unused-function" warning at compile time. This was raised by @strk in #130. This commit fixes the issue. --- lib/cunit/cu_pc_patch_lazperf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cunit/cu_pc_patch_lazperf.c b/lib/cunit/cu_pc_patch_lazperf.c index c17f51b..a0913ee 100644 --- a/lib/cunit/cu_pc_patch_lazperf.c +++ b/lib/cunit/cu_pc_patch_lazperf.c @@ -34,6 +34,7 @@ clean_suite(void) return 0; } +#ifdef HAVE_LAZPERF static void test_schema_compression_lazperf(void) { @@ -50,7 +51,6 @@ test_schema_compression_lazperf(void) pcfree(xmlstr); } -#ifdef HAVE_LAZPERF static void test_patch_lazperf() {