summaryrefslogtreecommitdiff
path: root/pcre_compile.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2008-03-05 17:23:42 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2008-03-05 17:23:42 +0000
commit716b33b21fc0a24677dc5d5405a7a06b3c6779cd (patch)
treeff62849796960a99c22fcaeeba128e4947298c06 /pcre_compile.c
parentbf81f7a2223b11e45e3a7e9f74fa2bb448a20900 (diff)
downloadpcre-716b33b21fc0a24677dc5d5405a7a06b3c6779cd.tar.gz
Remove a line of dead code, identified by coverity and reported by Nuno Lopes.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@323 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_compile.c')
-rw-r--r--pcre_compile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pcre_compile.c b/pcre_compile.c
index 799f47c..6f2a87e 100644
--- a/pcre_compile.c
+++ b/pcre_compile.c
@@ -2113,7 +2113,6 @@ if (next >= 0) switch(op_code)
/* For OP_NOT, "item" must be a single-byte character. */
case OP_NOT:
- if (next < 0) return FALSE; /* Not a character */
if (item == next) return TRUE;
if ((options & PCRE_CASELESS) == 0) return FALSE;
#ifdef SUPPORT_UTF8