Indicate intentional fall through in switch statments
authorGeorge Nash <george.nash@intel.com>
Wed, 7 Dec 2016 20:51:27 +0000 (12:51 -0800)
committerKevin Kane <kkane@microsoft.com>
Tue, 13 Dec 2016 15:29:51 +0000 (15:29 +0000)
commitb3223ccee797d59827cea5cd731a369163f2a577
tree224cad52bb62f761a9a22575ec5ffd7408b252cc
parent55f5735ae8cad2665f0b433dfcd19e2e4e642625
Indicate intentional fall through in switch statments

Add comments to clearly indicate that these cases that lack
a `break` statement is intentional

The lack of `break` statment shows up in many analysis tools.
Adding the comments helps when evaluating reports from analysis
tools.

Change-Id: I24f0e4ee7b8d651bed6a8a0f8179d0ec789521a4
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15239
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Greg Zaverucha <gregz@microsoft.com>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
resource/csdk/security/src/directpairing.c
resource/csdk/stack/src/ocstack.c