diff options
author | Guido van Rossum <guido@python.org> | 1998-07-07 22:21:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-07 22:21:45 (GMT) |
commit | c69bac539c9e5ff2f9c8e9b6d1cb57ca994a973b (patch) | |
tree | d6dc66f1026745610ebff0dc3b5da95a5ca0be6a /Modules/pcremodule.c | |
parent | eaa1ed6b42a188ff33362b47885b18993a2e0141 (diff) | |
download | cpython-c69bac539c9e5ff2f9c8e9b6d1cb57ca994a973b.zip cpython-c69bac539c9e5ff2f9c8e9b6d1cb57ca994a973b.tar.gz cpython-c69bac539c9e5ff2f9c8e9b6d1cb57ca994a973b.tar.bz2 |
Fix benign problems found by a picky SGI compiler (unreachable break
after a return).
Diffstat (limited to 'Modules/pcremodule.c')
-rw-r--r-- | Modules/pcremodule.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Modules/pcremodule.c b/Modules/pcremodule.c index 40efd03..60b7029 100644 --- a/Modules/pcremodule.c +++ b/Modules/pcremodule.c @@ -257,35 +257,27 @@ PyPcre_expand_escape(pattern, pattern_len, indexptr, typeptr) case('t'): *indexptr=index; return Py_BuildValue("c", (char)9); - break; case('n'): *indexptr = index; return Py_BuildValue("c", (char)10); - break; case('v'): *indexptr = index; return Py_BuildValue("c", (char)11); - break; case('r'): *indexptr = index; return Py_BuildValue("c", (char)13); - break; case('f'): *indexptr = index; return Py_BuildValue("c", (char)12); - break; case('a'): *indexptr = index; return Py_BuildValue("c", (char)7); - break; case('b'): *indexptr=index; return Py_BuildValue("c", (char)8); - break; case('\\'): *indexptr=index; return Py_BuildValue("c", '\\'); - break; case('x'): { @@ -468,7 +460,6 @@ PyPcre_expand_escape(pattern, pattern_len, indexptr, typeptr) *typeptr = STRING; *indexptr = index; return Py_BuildValue("s#", pattern+index-2, 2); - break; } } |