Fix compiler warning for non-TIOCGWINSZ case
Backpatch to 9.5 where the error was introduced.
This commit is contained in:
parent
8a0aa686f4
commit
0557dc276f
|
@ -2747,10 +2747,10 @@ PageOutput(int lines, const printTableOpt *topt)
|
||||||
{
|
{
|
||||||
const char *pagerprog;
|
const char *pagerprog;
|
||||||
FILE *pagerpipe;
|
FILE *pagerpipe;
|
||||||
unsigned short int pager = topt->pager;
|
|
||||||
int min_lines = topt->pager_min_lines;
|
|
||||||
|
|
||||||
#ifdef TIOCGWINSZ
|
#ifdef TIOCGWINSZ
|
||||||
|
unsigned short int pager = topt->pager;
|
||||||
|
int min_lines = topt->pager_min_lines;
|
||||||
int result;
|
int result;
|
||||||
struct winsize screen_size;
|
struct winsize screen_size;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue