Suppress unused-variable compiler warning, per Andrew Dunstan.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Jul 2006 02:15:17 +0000 (02:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Jul 2006 02:15:17 +0000 (02:15 +0000)
src/test/regress/pg_regress.c

index 5be7ba6992b775574e455e87e71c8a66a4819535..09cd7e6ee022663e4e9927e44e81693d124dfea3 100644 (file)
@@ -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";