summaryrefslogtreecommitdiffstats
path: root/Modules/pypcre.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-07 22:22:22 (GMT)
committerGuido van Rossum <guido@python.org>1998-07-07 22:22:22 (GMT)
commit04e00a4cf42547058b6b8f9343e77fce6aaad8e2 (patch)
treec30ef453a9d72ea93036d416259fd927261db6fa /Modules/pypcre.c
parentc69bac539c9e5ff2f9c8e9b6d1cb57ca994a973b (diff)
downloadcpython-04e00a4cf42547058b6b8f9343e77fce6aaad8e2.zip
cpython-04e00a4cf42547058b6b8f9343e77fce6aaad8e2.tar.gz
cpython-04e00a4cf42547058b6b8f9343e77fce6aaad8e2.tar.bz2
Fix benign problems found by a picky SGI compiler (unreachable break
after a return or goto).
Diffstat (limited to 'Modules/pypcre.c')
-rw-r--r--Modules/pypcre.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/pypcre.c b/Modules/pypcre.c
index 4e474c5..96baa89 100644
--- a/Modules/pypcre.c
+++ b/Modules/pypcre.c
@@ -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 */