Content-Length: 264609 | pFad | http://github.com/postgrespro/postgres_cluster/commit/0557dc276f1022965f72dc8bcfc820dfd83a7dc2

1F Fix compiler warning for non-TIOCGWINSZ case · postgrespro/postgres_cluster@0557dc2 · GitHub
Skip to content

Commit 0557dc2

Browse files
committed
Fix compiler warning for non-TIOCGWINSZ case
Backpatch to 9.5 where the error was introduced.
1 parent 8a0aa68 commit 0557dc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/print.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2747,10 +2747,10 @@ PageOutput(int lines, const printTableOpt *topt)
27472747
{
27482748
const char *pagerprog;
27492749
FILE *pagerpipe;
2750-
unsigned short int pager = topt->pager;
2751-
int min_lines = topt->pager_min_lines;
27522750

27532751
#ifdef TIOCGWINSZ
2752+
unsigned short int pager = topt->pager;
2753+
int min_lines = topt->pager_min_lines;
27542754
int result;
27552755
struct winsize screen_size;
27562756

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/0557dc276f1022965f72dc8bcfc820dfd83a7dc2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy