2011-02-26 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Sat, 26 Feb 2011 21:50:41 +0000 (21:50 +0000)
committerMichael Snyder <msnyder@vmware.com>
Sat, 26 Feb 2011 21:50:41 +0000 (21:50 +0000)
* expprint.c (dump_subexp_body_standard): Document that case
statement is meant to fall through.

gdb/ChangeLog
gdb/expprint.c

index 3422ce606cd11b62a5cb77e8eb345b49c8c5f6bf..61797e14a198824a8447c96e38ed7c3ba0f3543c 100644 (file)
@@ -1,5 +1,8 @@
 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
        dead if statement.  Condition can't be false.
 
index a6c13f9e617166fbe5ac0b80a0abad47b3c33d22..a52dee3a91cb6b5763a9c88e92366dcf8f62d17c 100644 (file)
@@ -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:
This page took 0.043411 seconds and 4 git commands to generate.