summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 245d22a..542e624 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1290,11 +1290,7 @@ PySys_SetArgv(int argc, char **argv)
p = strrchr(argv0, SEP);
}
if (p != NULL) {
-#ifndef RISCOS
n = p + 1 - argv0;
-#else /* don't include trailing separator */
- n = p - argv0;
-#endif /* RISCOS */
#if SEP == '/' /* Special case for Unix filename syntax */
if (n > 1)
n--; /* Drop trailing separator */