Todd Lipcon has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/9024 )

Change subject: tools: Add debug mode to pb dump tool
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/9024/1/src/kudu/util/pb_util.cc
File src/kudu/util/pb_util.cc:

http://gerrit.cloudera.org:8080/#/c/9024/1/src/kudu/util/pb_util.cc@930
PS1, Line 930: // Fallthrough.
use FALLTHROUGH_INTENDED from macros.h which has some magic effect on clang.

Or, since this is just the common case of multiple case labels, and not a case 
where there is some code for DEFAULT which then falls through to DEBUG, I don't 
think it's really necessary in the first place. Mostly I like to document 
fallthrough in cases like:

case A:
  some code;
  some more code;
case B:
  even more code;
  break;

because it looks like someone forgot the 'break' on case A.



--
To view, visit http://gerrit.cloudera.org:8080/9024
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ica2a74a2e252d140cf7704ff68037a64db19cd80
Gerrit-Change-Number: 9024
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Percy <mpe...@apache.org>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>
Gerrit-Comment-Date: Wed, 17 Jan 2018 06:22:28 +0000
Gerrit-HasComments: Yes

Reply via email to