summaryrefslogtreecommitdiffstats
path: root/Modules/getpath.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-13 19:19:41 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-13 19:19:41 (GMT)
commit7d3246d0e46e5b1a81c72629e118288d32f66fef (patch)
treeaeb040cf7a93b3f069a96026695d041d14d30b4a /Modules/getpath.c
parentad16471b27eca8e75dd63e633d1f443f88f94738 (diff)
downloadcpython-7d3246d0e46e5b1a81c72629e118288d32f66fef.zip
cpython-7d3246d0e46e5b1a81c72629e118288d32f66fef.tar.gz
cpython-7d3246d0e46e5b1a81c72629e118288d32f66fef.tar.bz2
Keep gcc -Wall happy.
Diffstat (limited to 'Modules/getpath.c')
-rw-r--r--Modules/getpath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index fccd79f..7632aeb 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -201,7 +201,7 @@ search_for_prefix(argv0_path, home)
char *argv0_path;
char *home;
{
- int i, n;
+ int n;
char *vpath;
/* Check to see if argv[0] is in the build directory */
@@ -271,7 +271,7 @@ search_for_exec_prefix(argv0_path, home)
char *argv0_path;
char *home;
{
- int i, n;
+ int n;
/* Check to see if argv[0] is in the build directory */
strcpy(exec_prefix, argv0_path);