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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy