diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-09-02 16:42:00 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-09-02 16:42:00 +0000 |
commit | e00896f3c6f3607c53f097f42b056c0965ac9edb (patch) | |
tree | 11d30b6cc969892daf3401512133d9f00297709a | |
parent | 3a6f1313b58988bb94f848f74d917ffa886aecef (diff) | |
download | postgresql-e00896f3c6f3607c53f097f42b056c0965ac9edb.tar.gz postgresql-e00896f3c6f3607c53f097f42b056c0965ac9edb.zip |
Remove useless variable.
-rw-r--r-- | src/port/path.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/port/path.c b/src/port/path.c index 8017417b708..9590c9cedbb 100644 --- a/src/port/path.c +++ b/src/port/path.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/path.c,v 1.34 2004/08/29 21:08:48 tgl Exp $ + * $PostgreSQL: pgsql/src/port/path.c,v 1.35 2004/09/02 16:42:00 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -429,8 +429,6 @@ make_relative(const char *my_exec_path, const char *p, char *ret_path) static const char * relative_path(const char *bin_path, const char *other_path) { - const char *other_sep = other_path; - #ifdef WIN32 /* Driver letters match? */ if (isalpha(*bin_path) && bin_path[1] == ':' && @@ -446,7 +444,6 @@ relative_path(const char *bin_path, const char *other_path) return NULL; bin_path += 2; other_path += 2; - other_sep = other_path + 1; /* past separator */ } #endif @@ -470,9 +467,6 @@ relative_path(const char *bin_path, const char *other_path) ) break; - if (IS_DIR_SEP(*other_path)) - other_sep = other_path + 1; /* past separator */ - bin_path++; other_path++; } |