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,10 +43,14 @@
|
||||||
/*
|
/*
|
||||||
* Use at end of switch which has no default case
|
* Use at end of switch which has no default case
|
||||||
*/
|
*/
|
||||||
#define COVERAGE_NO_DEFAULT_CASE \
|
#if _BullseyeCoverage
|
||||||
|
#define COVERAGE_NO_DEFAULT_CASE \
|
||||||
COVERAGE_DISABLE \
|
COVERAGE_DISABLE \
|
||||||
default: \
|
default: \
|
||||||
(void)0; \
|
(void)0; \
|
||||||
COVERAGE_RESTORE
|
COVERAGE_RESTORE
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#define COVERAGE_NO_DEFAULT_CASE
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue