Add unreachable "break" to satisfy -Wimplicit-fallthrough.
authorTom Lane <[email protected]>
Sat, 23 Mar 2019 05:32:58 +0000 (01:32 -0400)
committerTom Lane <[email protected]>
Sat, 23 Mar 2019 05:32:58 +0000 (01:32 -0400)
gcc is a bit pickier about this than perhaps it should be.

Discussion: https://postgr.es/m/[email protected]

src/backend/parser/parse_func.c

index 7aa1a748ec8db679fe3da8a6e4eb107f64e9b2a9..b8447771bd99d282a6911d93b651532374eeeb7a 100644 (file)
@@ -2332,6 +2332,7 @@ LookupFuncWithArgs(ObjectType objtype, ObjectWithArgs *func, bool missing_ok)
                                                                                                                                  NIL, argoids))));
                                                break;
                                }
+                               break;
 
                        case FUNCLOOKUP_AMBIGUOUS:
                                switch (objtype)