postgres.git / summary / log / commit / refs
commit c3104376f9eb51b0ce3449fa5be470c1909fb66f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Thu Jul 20 02:15:17 2006 +0000
First released in: 8.2.0
Suppress unused-variable compiler warning, per Andrew Dunstan.
src/test/regress/pg_regress.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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";
[parent: 27a83103ead2]