From c3104376f9eb51b0ce3449fa5be470c1909fb66f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 20 Jul 2006 02:15:17 +0000 Subject: [PATCH] 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 0249ad324c..969f7da6cb 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"; -- 2.40.0