mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Fix compiler warning for non-TIOCGWINSZ case
Backpatch to 9.5 where the error was introduced.
This commit is contained in:
parent
c4e6d506c6
commit
60fcee9e5e
@ -2747,10 +2747,10 @@ PageOutput(int lines, const printTableOpt *topt)
|
||||
{
|
||||
const char *pagerprog;
|
||||
FILE *pagerpipe;
|
||||
unsigned short int pager = topt->pager;
|
||||
int min_lines = topt->pager_min_lines;
|
||||
|
||||
#ifdef TIOCGWINSZ
|
||||
unsigned short int pager = topt->pager;
|
||||
int min_lines = topt->pager_min_lines;
|
||||
int result;
|
||||
struct winsize screen_size;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user