Explicit switch/case fallthroughs to avoid compiler warnings.

pull/1500/head
Hadi Moshayedi 2017-07-18 14:50:45 -04:00
parent b873e6fcc8
commit 3a3213c4e5
2 changed files with 2 additions and 0 deletions

View File

@ -164,6 +164,7 @@ RelayEventExtendNames(Node *parseTree, char *schemaName, uint64 shardId)
* performed on CreateStmt should be done here too, we simply *fall
* through* to avoid code repetition.
*/
__attribute__((fallthrough));
}
case T_CreateStmt:

View File

@ -4449,6 +4449,7 @@ isSimpleNode(Node *node, Node *parentNode, int prettyFlags)
}
/* else do the same stuff as for T_SubLink et al. */
/* FALL THROUGH */
__attribute__((fallthrough));
}
case T_SubLink: