diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-30 11:15:15 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-30 11:15:15 -0400 |
commit | 5358bfdc98a47d26649ae094dab88842a0603968 (patch) | |
tree | 454a7331bab20fc5db35fdf77570225fc6dfe4ec /src | |
parent | 503de5462158b0260f6deaf3087cf0945f7327f0 (diff) | |
download | postgresql-5358bfdc98a47d26649ae094dab88842a0603968.tar.gz postgresql-5358bfdc98a47d26649ae094dab88842a0603968.zip |
Fix uninitialized-variable warnings induced by recent commit.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index c9c041f7243..08fe907d8d1 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -1266,7 +1266,7 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout) swidth = 1; /* "header data" */ else if (opt_border == 1) swidth = 3; /* "header | data" */ - else if (opt_border > 1) + else swidth = 7; /* "| header | data |" */ /* Wrap to maximum width */ @@ -1285,7 +1285,7 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout) delta += 6; /* "* RECORD " */ else if (opt_border == 1) delta += 10; /* "-[ RECORD ]" */ - else if (opt_border == 2) + else delta += 15; /* "+-[ RECORD ]-+" */ if (delta > 0) |