Skip to content

Commit

Permalink
intentional fall-through (#297)
Browse files Browse the repository at this point in the history
* intentional fall-through

* russell's idea
  • Loading branch information
tburgin authored Sep 20, 2018
1 parent 90b894b commit 5e3f13b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/santa-driver/SantaDecisionManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ extern "C" int fileop_scope_callback(
if (!(arg2 & KAUTH_FILEOP_CLOSE_MODIFIED))
return KAUTH_RESULT_DEFER;
// Intentional fallthrough to get vnode reference.
[[fallthrough]];
case KAUTH_FILEOP_DELETE:
case KAUTH_FILEOP_EXEC:
vp = reinterpret_cast<vnode_t>(arg0);
Expand Down

0 comments on commit 5e3f13b

Please sign in to comment.