summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>2001-08-30 14:37:07 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>2001-08-30 14:37:07 (GMT)
commit89dfe9e292b70782a6a0a10444a0c5e46dc43191 (patch)
tree7a6ad3d9267cea27d73cf0f152e055f788b3caa2
parent6f848c175f6fbf9a0d7e1e2c54f283ea50be0074 (diff)
downloadcpython-89dfe9e292b70782a6a0a10444a0c5e46dc43191.zip
cpython-89dfe9e292b70782a6a0a10444a0c5e46dc43191.tar.gz
cpython-89dfe9e292b70782a6a0a10444a0c5e46dc43191.tar.bz2
Removed unreachable return to silence SGI compiler.
-rw-r--r--Modules/_sre.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index 9943c30..d6f39a4 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -1140,8 +1140,7 @@ SRE_MATCH(SRE_STATE* state, SRE_CODE* pattern, int level)
}
}
- /* shouldn't end up here */
- return SRE_ERROR_ILLEGAL;
+ /* can't end up here */
}
LOCAL(int)