Merge pull request #323 from arutk/remove_fallthrough

Remove switch/case fallthrough
This commit is contained in:
Adam Rutkowski 2019-12-12 11:49:08 +01:00 committed by GitHub
commit 57e6b96791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,6 +187,7 @@ bool ocf_seq_cutoff_check(ocf_core_t core, uint32_t dir, uint64_t addr,
case ocf_seq_cutoff_policy_full: case ocf_seq_cutoff_policy_full:
if (ocf_seq_cutoff_is_on(cache)) if (ocf_seq_cutoff_is_on(cache))
break; break;
return false;
case ocf_seq_cutoff_policy_never: case ocf_seq_cutoff_policy_never:
return false; return false;