projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05d1b9b
)
Silence buildfarm warning chatter from bd1276a3c.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 8 Oct 2024 15:15:16 +0000
(11:15 -0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 8 Oct 2024 15:15:16 +0000
(11:15 -0400)
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.
src/bin/psql/tab-complete.in.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/tab-complete.in.c
b/src/bin/psql/tab-complete.in.c
index b4efb127dc8532defa26c309bfa716a4c4fa9f99..a9f4d205e142c5e5c256e5df6b410b090e0cf778 100644
(file)
--- 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 */