2011-02-26 Michael Snyder <msnyder@vmware.com>
* expprint.c (dump_subexp_body_standard): Document that case statement is meant to fall through.
This commit is contained in:
parent
f2c4ead516
commit
cb969d6141
|
@ -1,5 +1,8 @@
|
||||||
2011-02-26 Michael Snyder <msnyder@vmware.com>
|
2011-02-26 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
|
* expprint.c (dump_subexp_body_standard): Document that case
|
||||||
|
statement is meant to fall through.
|
||||||
|
|
||||||
* amd64-linux-tdep.c (amd64_linux_syscall_record): Delete
|
* amd64-linux-tdep.c (amd64_linux_syscall_record): Delete
|
||||||
dead if statement. Condition can't be false.
|
dead if statement. Condition can't be false.
|
||||||
|
|
||||||
|
|
|
@ -767,6 +767,7 @@ dump_subexp_body_standard (struct expression *exp,
|
||||||
case TERNOP_SLICE:
|
case TERNOP_SLICE:
|
||||||
case TERNOP_SLICE_COUNT:
|
case TERNOP_SLICE_COUNT:
|
||||||
elt = dump_subexp (exp, stream, elt);
|
elt = dump_subexp (exp, stream, elt);
|
||||||
|
/* FALL THROUGH */
|
||||||
case BINOP_ADD:
|
case BINOP_ADD:
|
||||||
case BINOP_SUB:
|
case BINOP_SUB:
|
||||||
case BINOP_MUL:
|
case BINOP_MUL:
|
||||||
|
@ -803,6 +804,7 @@ dump_subexp_body_standard (struct expression *exp,
|
||||||
case STRUCTOP_MEMBER:
|
case STRUCTOP_MEMBER:
|
||||||
case STRUCTOP_MPTR:
|
case STRUCTOP_MPTR:
|
||||||
elt = dump_subexp (exp, stream, elt);
|
elt = dump_subexp (exp, stream, elt);
|
||||||
|
/* FALL THROUGH */
|
||||||
case UNOP_NEG:
|
case UNOP_NEG:
|
||||||
case UNOP_LOGICAL_NOT:
|
case UNOP_LOGICAL_NOT:
|
||||||
case UNOP_COMPLEMENT:
|
case UNOP_COMPLEMENT:
|
||||||
|
|
Loading…
Reference in New Issue