aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-10-08 11:15:16 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2024-10-08 11:15:16 -0400
commitc01fd93088da36f2473a6b1bad3fce3e04c685a1 (patch)
treea0625a797458499c938832699bd1d8122553078f /src
parent05d1b9b5c286424dea2a91cf906c49c9d22ff4bf (diff)
downloadpostgresql-c01fd93088da36f2473a6b1bad3fce3e04c685a1.tar.gz
postgresql-c01fd93088da36f2473a6b1bad3fce3e04c685a1.zip
Silence buildfarm warning chatter from bd1276a3c.
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.
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/tab-complete.in.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.in.c b/src/bin/psql/tab-complete.in.c
index b4efb127dc8..a9f4d205e14 100644
--- a/src/bin/psql/tab-complete.in.c
+++ b/src/bin/psql/tab-complete.in.c
@@ -2122,7 +2122,9 @@ match_previous_words(int pattern_id,
/* Dummy statement, allowing all the match rules to look like "else if" */
if (0)
- /* skip */ ;
+ {
+ /* skip */
+ }
/* gen_tabcomplete.pl begins special processing here */
/* BEGIN GEN_TABCOMPLETE */