aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-01-23 13:06:38 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-01-23 13:06:38 -0500
commitb3cfcdaad27bea9bb86d6de6cbf8d184c16fbceb (patch)
treeed05003f21a4fe047a9faee478310200058b3071
parent6c41cf5977ca3f13159b980d4b216e3bc9df90e8 (diff)
downloadpostgresql-b3cfcdaad27bea9bb86d6de6cbf8d184c16fbceb.tar.gz
postgresql-b3cfcdaad27bea9bb86d6de6cbf8d184c16fbceb.zip
Suppress uninitialized-variable warning.
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c2
1 files changed, 1 insertions, 1 deletions
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;