diff options
author | Michael Snyder <msnyder@specifix.com> | 2011-02-26 21:50:41 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2011-02-26 21:50:41 +0000 |
commit | 18685360b67b7650126479b4d706d0d754ba55d7 (patch) | |
tree | 86a1b8c065235d80ea0049af514bbd1d7a995a9a /gdb/expprint.c | |
parent | c0b28a21dceb5456c7013edc02e241297c030376 (diff) | |
download | gdb-18685360b67b7650126479b4d706d0d754ba55d7.tar.gz |
2011-02-26 Michael Snyder <msnyder@vmware.com>
* expprint.c (dump_subexp_body_standard): Document that case
statement is meant to fall through.
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r-- | gdb/expprint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c index a6c13f9e617..a52dee3a91c 100644 --- a/gdb/expprint.c +++ b/gdb/expprint.c @@ -767,6 +767,7 @@ dump_subexp_body_standard (struct expression *exp, case TERNOP_SLICE: case TERNOP_SLICE_COUNT: elt = dump_subexp (exp, stream, elt); + /* FALL THROUGH */ case BINOP_ADD: case BINOP_SUB: case BINOP_MUL: @@ -803,6 +804,7 @@ dump_subexp_body_standard (struct expression *exp, case STRUCTOP_MEMBER: case STRUCTOP_MPTR: elt = dump_subexp (exp, stream, elt); + /* FALL THROUGH */ case UNOP_NEG: case UNOP_LOGICAL_NOT: case UNOP_COMPLEMENT: |