Commit 0557dc27 authored by Andrew Dunstan's avatar Andrew Dunstan

Fix compiler warning for non-TIOCGWINSZ case

Backpatch to 9.5 where the error was introduced.
parent 8a0aa686
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment