From b3cfcdaad27bea9bb86d6de6cbf8d184c16fbceb Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sun, 23 Jan 2011 13:06:38 -0500
Subject: [PATCH] Suppress uninitialized-variable warning.

---
 src/bin/pg_basebackup/pg_basebackup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index 86df4b820d7..8a371504aeb 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -427,7 +427,7 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
 	char		current_path[MAXPGPATH];
 	char		fn[MAXPGPATH];
 	int			current_len_left;
-	int			current_padding;
+	int			current_padding = 0;
 	char	   *copybuf = NULL;
 	FILE	   *file = NULL;
 
-- 
GitLab