aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-07-20 02:15:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-07-20 02:15:17 +0000
commitc3104376f9eb51b0ce3449fa5be470c1909fb66f (patch)
tree70c89f97f25bba3f9be78f23b861af97c23e8d9c
parent27a83103ead26cafc60e0143493870e08c52c1a2 (diff)
downloadpostgresql-c3104376f9eb51b0ce3449fa5be470c1909fb66f.tar.gz
postgresql-c3104376f9eb51b0ce3449fa5be470c1909fb66f.zip
Suppress unused-variable compiler warning, per Andrew Dunstan.
-rw-r--r--src/test/regress/pg_regress.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
index 0249ad324cc..969f7da6cbe 100644
--- a/src/test/regress/pg_regress.c
+++ b/src/test/regress/pg_regress.c
@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.7 2006/07/20 02:10:00 tgl Exp $
+ * $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.8 2006/07/20 02:15:17 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -63,7 +63,9 @@ static char *libdir = LIBDIR;
static char *datadir = PGSHAREDIR;
static char *host_platform = HOST_TUPLE;
static char *makeprog = MAKEPROG;
+#ifndef WIN32 /* not used in WIN32 case */
static char *shellprog = SHELLPROG;
+#endif
/* currently we can use the same diff switches on all platforms */
static const char *basic_diff_opts = "-w";