summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 6be2262c7b..876e31e830 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1748,8 +1748,6 @@ sys_update_path(int argc, wchar_t **argv)
if (path == NULL)
return;
- if (argc == 0)
- return;
argv0 = argv[0];
#ifdef HAVE_READLINK