From: Tom Lane Date: Sat, 23 Mar 2019 05:32:58 +0000 (-0400) Subject: Add unreachable "break" to satisfy -Wimplicit-fallthrough. X-Git-Tag: REL_12_BETA1~452 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=fb50d3f03fe6876b878d636a312c2ccc1f4f99af;p=postgresql.git Add unreachable "break" to satisfy -Wimplicit-fallthrough. gcc is a bit pickier about this than perhaps it should be. Discussion: https://postgr.es/m/E1h6zzT-0003ft-DD@gemulon.postgresql.org --- diff --git a/src/backend/parser/parse_func.c b/src/backend/parser/parse_func.c index 7aa1a748ec8..b8447771bd9 100644 --- a/src/backend/parser/parse_func.c +++ b/src/backend/parser/parse_func.c @@ -2332,6 +2332,7 @@ LookupFuncWithArgs(ObjectType objtype, ObjectWithArgs *func, bool missing_ok) NIL, argoids)))); break; } + break; case FUNCLOOKUP_AMBIGUOUS: switch (objtype)