summaryrefslogtreecommitdiff
path: root/pcre_dfa_exec.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_dfa_exec.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_dfa_exec.c')
-rw-r--r--pcre_dfa_exec.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/pcre_dfa_exec.c b/pcre_dfa_exec.c
index 887c79b..f61dbd3 100644
--- a/pcre_dfa_exec.c
+++ b/pcre_dfa_exec.c
@@ -3031,8 +3031,6 @@ dfa_match_data match_block;
dfa_match_data *md = &match_block;
BOOL utf, anchored, startline, firstline;
const pcre_uchar *current_subject, *end_subject;
-const pcre_uint8 *lcc;
-
const pcre_study_data *study = NULL;
const pcre_uchar *req_char_ptr;
@@ -3194,10 +3192,9 @@ in other programs later. */
if (md->tables == NULL) md->tables = PRIV(default_tables);
-/* The lower casing table and the "must be at the start of a line" flag are
-used in a loop when finding where to start. */
+/* The "must be at the start of a line" flags are used in a loop when finding
+where to start. */
-lcc = md->tables + lcc_offset;
startline = (re->flags & PCRE_STARTLINE) != 0;
firstline = (re->options & PCRE_FIRSTLINE) != 0;