OSDN Git Service

filemode is parsed on win32 even if never used
authorMagnus Hagander <magnus@hagander.net>
Sun, 23 Jan 2011 13:45:23 +0000 (14:45 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 23 Jan 2011 13:45:23 +0000 (14:45 +0100)
Per buildfarm failure.

src/bin/pg_basebackup/pg_basebackup.c

index 5baea4c..b90d6a1 100644 (file)
@@ -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