aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2011-01-23 14:45:23 +0100
committerMagnus Hagander <magnus@hagander.net>2011-01-23 14:45:23 +0100
commitfe12263c9f3db78a5359865a6617e23a27e59691 (patch)
tree3480177d3ec0defa3cc51db241746804001eb983 /src
parent048d148fe63102fafb2336ab5439c950dea7f692 (diff)
downloadpostgresql-fe12263c9f3db78a5359865a6617e23a27e59691.tar.gz
postgresql-fe12263c9f3db78a5359865a6617e23a27e59691.zip
filemode is parsed on win32 even if never used
Per buildfarm failure.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index 5baea4cf77b..b90d6a1a386 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -483,9 +483,7 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
if (file == NULL)
{
-#ifndef WIN32
mode_t filemode;
-#endif
/*
* No current file, so this must be the header for a new file