Changeset 878 in openpam


Ignore:
Timestamp:
Jan 9, 2016, 5:34:32 PM (5 years ago)
Author:
Dag-Erling Smørgrav
Message:

Coverity Scan doesn't like the no-op default case, so hide it when
we're not instrumenting for coverage analysis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/liboath/oath_impl.h

    r799 r878  
    4444 * Use at end of switch which has no default case
    4545 */
    46 #define COVERAGE_NO_DEFAULT_CASE \
     46#if _BullseyeCoverage
     47#define COVERAGE_NO_DEFAULT_CASE                        \
    4748        COVERAGE_DISABLE                                \
    4849        default:                                        \
     
    5152
    5253#endif
     54#else
     55#define COVERAGE_NO_DEFAULT_CASE
     56#endif
Note: See TracChangeset for help on using the changeset viewer.