Coverity Scan doesn't like the no-op default case, so hide it when
we're not instrumenting for coverage analysis. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@878 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
4e92aa7e24
commit
f82c90afb6
|
@ -43,6 +43,7 @@
|
|||
/*
|
||||
* Use at end of switch which has no default case
|
||||
*/
|
||||
#if _BullseyeCoverage
|
||||
#define COVERAGE_NO_DEFAULT_CASE \
|
||||
COVERAGE_DISABLE \
|
||||
default: \
|
||||
|
@ -50,3 +51,6 @@
|
|||
COVERAGE_RESTORE
|
||||
|
||||
#endif
|
||||
#else
|
||||
#define COVERAGE_NO_DEFAULT_CASE
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue