Remove superfluous check again
[privoxy.git] / pcre / pcre.c
index 1297ed9..38d0113 100644 (file)
@@ -3013,16 +3013,11 @@ while ((c = *(++ptr)) != 0)
 
       runlength++;
 
-      if (ptr > pattern + pattern_length)
+      if ((const char *)ptr > pattern + pattern_length)
         {
         *errorptr = "internal error";
         goto PCRE_ERROR_RETURN;
         }
-      if (ptr[1] >= tables_length - ctypes_offset)
-        {
-        *errorptr = ERR6;
-        goto PCRE_ERROR_RETURN;
-        }
       }
 
     /* This "while" is the end of the "do" above. */