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

Commitc01fd93

Browse files
committed
Silence buildfarm warning chatter frombd1276a.
Buildfarm members using -Wextra complained about "warning: suggestbraces around empty body in an 'if' statement". Do it gcc's way,though I see no actual readability benefit in this.
1 parent05d1b9b commitc01fd93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/bin/psql/tab-complete.in.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2122,7 +2122,9 @@ match_previous_words(int pattern_id,
21222122

21232123
/* Dummy statement, allowing all the match rules to look like "else if" */
21242124
if (0)
2125-
/* skip */ ;
2125+
{
2126+
/* skip */
2127+
}
21262128

21272129
/* gen_tabcomplete.pl begins special processing here */
21282130
/* BEGIN GEN_TABCOMPLETE */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp