Skip to content

Commit c01fd93

Browse files
committed
Silence buildfarm warning chatter from bd1276a.
Buildfarm members using -Wextra complained about "warning: suggest braces around empty body in an 'if' statement". Do it gcc's way, though I see no actual readability benefit in this.
1 parent 05d1b9b commit c01fd93

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy