* pcre/pcre_exec.c: (match): Try to fix the Windows build by removing unreach...
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Nov 2007 07:54:56 +0000 (07:54 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Nov 2007 07:54:56 +0000 (07:54 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27421 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/pcre/pcre_exec.c

index 5d2aaf1f08e51205bae0b7a847c7ea9480457c4e..570bcaa52fffcd081b69a9dfc514410500e2285b 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-04  Darin Adler  <darin@apple.com>
+
+        * pcre/pcre_exec.c: (match): Try to fix the Windows build by removing unreachable code.
+
 2007-11-03  Darin Adler  <darin@apple.com>
 
         - fix non-Mac builds; remove some more unused PCRE stuff
index fbcb2b15cb6d6f6cf2fe761215ba9c293a8e8166..dca19f756671e95a5225301104ae6d41ce17353c 100644 (file)
@@ -754,16 +754,12 @@ for (;;)
       }
     else
       {
-        {
-        if (frame->eptr < md->end_subject - 1 ||
-           (frame->eptr == md->end_subject - 1 && !IS_NEWLINE(*frame->eptr)))
-          RRETURN(MATCH_NOMATCH);
-        frame->ecode++;
-        break;
-        }
+      if (frame->eptr < md->end_subject - 1 ||
+         (frame->eptr == md->end_subject - 1 && !IS_NEWLINE(*frame->eptr)))
+        RRETURN(MATCH_NOMATCH);
+      frame->ecode++;
+      break;
       }
-    if (frame->eptr < md->end_subject) RRETURN(MATCH_NOMATCH);
-    frame->ecode++;
     break;
 
     /* Word boundary assertions */