]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Suppress uninitialized-variable warning.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Jan 2011 18:06:38 +0000 (13:06 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Jan 2011 18:06:38 +0000 (13:06 -0500)
src/bin/pg_basebackup/pg_basebackup.c

index 86df4b820d7af17ab4c1950da1880cc150c35098..8a371504aeb3d9e933bdad83006a6ff4f1f78bdf 100644 (file)
@@ -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;