]> granicus.if.org Git - python/commitdiff
Fix benign problems found by a picky SGI compiler (unreachable break
authorGuido van Rossum <guido@python.org>
Tue, 7 Jul 1998 22:22:22 +0000 (22:22 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Jul 1998 22:22:22 +0000 (22:22 +0000)
after a return or goto).

Modules/pypcre.c

index 4e474c59375a8b055b4bb0d16b9f95b4d925f0cf..96baa89c03627facf62811d8713b99556829f668 100644 (file)
@@ -1884,7 +1884,6 @@ for (;; ptr++)
             report an error.  Add more Python-extensions here. */
          *errorptr="unknown after (?P";
          goto FAILED;
-         break;
 
         case '>':                         /* "Match once" brackets */
         if ((options & PCRE_EXTRA) != 0)  /* Not yet standard */
@@ -3392,7 +3391,6 @@ for (;;)
        ecode=prev+3; goto match_loop;
         }
       }
-    break;
     
     /* Start of subject unless notbol, or after internal newline if multiline */