Permalink
Browse files

Disable oclint TooFewBranchesInSwitchStatement

  • Loading branch information...
krader1961 committed Sep 13, 2018
1 parent e576f37 commit a8cf36a37f7bf05797eabf26b3aa8e0aa8adb19a
Showing with 7 additions and 0 deletions.
  1. +7 −0 .oclint
View
@@ -96,6 +96,13 @@ disable-rules:
# through to the next case block.
- MissingBreakInSwitchStatement
#
# This warning is perfectly reasonable for most projects but not for ksh.
# There are simply too many `switch` blocks with as little as two branches
# but which we cannot justify rewriting.
# TODO: Enable this warning in the future.
#
- TooFewBranchesInSwitchStatement
#
# TODO: Enable These in the future after simpler or more serious issues
# have been addressed. At this time these warnings just make it hard to
# see the issues that are easier or more urgent to resolve. So disable them.

0 comments on commit a8cf36a

Please sign in to comment.