From fe12263c9f3db78a5359865a6617e23a27e59691 Mon Sep 17 00:00:00 2001
From: Magnus Hagander <magnus@hagander.net>
Date: Sun, 23 Jan 2011 14:45:23 +0100
Subject: [PATCH] filemode is parsed on win32 even if never used

Per buildfarm failure.
---
 src/bin/pg_basebackup/pg_basebackup.c | 2 --
 1 file changed, 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
-- 
GitLab