Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0557dc2

Browse files
committed
Fix compiler warning for non-TIOCGWINSZ case
Backpatch to 9.5 where the error was introduced.
1 parent8a0aa68 commit0557dc2

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
constchar*pagerprog;
27492749
FILE*pagerpipe;
2750-
unsigned shortintpager=topt->pager;
2751-
intmin_lines=topt->pager_min_lines;
27522750

27532751
#ifdefTIOCGWINSZ
2752+
unsigned shortintpager=topt->pager;
2753+
intmin_lines=topt->pager_min_lines;
27542754
intresult;
27552755
structwinsizescreen_size;
27562756

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp