summaryrefslogtreecommitdiff
path: root/pcre_jit_test.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-15 18:07:05 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-15 18:07:05 +0000
commit91aad13b2f1763201de03b6667a9fb869103fa39 (patch)
tree622f850ea2999c3b7f784acfa5cfd6c82149f339 /pcre_jit_test.c
parentc4e858ed1e48ee8284b05f4c46776540eec95e99 (diff)
downloadpcre-91aad13b2f1763201de03b6667a9fb869103fa39.tar.gz
Get rid of a number of -Wunused-but-set-variable compiler warnings.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@881 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_jit_test.c')
-rw-r--r--pcre_jit_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pcre_jit_test.c b/pcre_jit_test.c
index 0f394f7..26a6f34 100644
--- a/pcre_jit_test.c
+++ b/pcre_jit_test.c
@@ -721,15 +721,19 @@ static const unsigned char *tables(int mode)
return tables_copy;
}
+#ifdef SUPPORT_PCRE8
static pcre_jit_stack* callback8(void *arg)
{
return (pcre_jit_stack *)arg;
}
+#endif
+#ifdef SUPPORT_PCRE16
static pcre16_jit_stack* callback16(void *arg)
{
return (pcre16_jit_stack *)arg;
}
+#endif
#ifdef SUPPORT_PCRE8
static void setstack8(pcre_extra *extra)