mirror of https://github.com/citusdata/citus.git
Use fallthrough comments to suppress -Wimplicit-fallthrough comments.
parent
3a3213c4e5
commit
13edec2bbe
|
@ -164,9 +164,8 @@ RelayEventExtendNames(Node *parseTree, char *schemaName, uint64 shardId)
|
||||||
* performed on CreateStmt should be done here too, we simply *fall
|
* performed on CreateStmt should be done here too, we simply *fall
|
||||||
* through* to avoid code repetition.
|
* through* to avoid code repetition.
|
||||||
*/
|
*/
|
||||||
__attribute__((fallthrough));
|
|
||||||
}
|
}
|
||||||
|
/* fallthrough */
|
||||||
case T_CreateStmt:
|
case T_CreateStmt:
|
||||||
{
|
{
|
||||||
CreateStmt *createStmt = (CreateStmt *) parseTree;
|
CreateStmt *createStmt = (CreateStmt *) parseTree;
|
||||||
|
|
|
@ -4448,10 +4448,8 @@ isSimpleNode(Node *node, Node *parentNode, int prettyFlags)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
/* else do the same stuff as for T_SubLink et al. */
|
/* else do the same stuff as for T_SubLink et al. */
|
||||||
/* FALL THROUGH */
|
|
||||||
__attribute__((fallthrough));
|
|
||||||
}
|
}
|
||||||
|
/* fallthrough */
|
||||||
case T_SubLink:
|
case T_SubLink:
|
||||||
case T_NullTest:
|
case T_NullTest:
|
||||||
case T_BooleanTest:
|
case T_BooleanTest:
|
||||||
|
|
Loading…
Reference in New Issue