diff --git a/Makefile.am b/Makefile.am index 577644b..32d7b67 100644 --- a/Makefile.am +++ b/Makefile.am @@ -93,7 +93,7 @@ cppncss: # Add coverage rule coverage: @if type gcovr >/dev/null 2>&1; then \ - gcovr -r . -x -o coverage-report-cxx.xml; \ + gcovr -r . -x --exclude-unreachable-branches -o coverage-report-cxx.xml; \ else \ echo "gcovr script not found in PATH."; \ fi; \ diff --git a/src/ctbin/ctbin.cpp b/src/ctbin/ctbin.cpp index 4da9f0e..cf03319 100644 --- a/src/ctbin/ctbin.cpp +++ b/src/ctbin/ctbin.cpp @@ -62,7 +62,7 @@ ctbin::ctbin(void) : ctool(CTBIN_NAME, CTBIN_VERSION) // Return return; -} +} // GCOV_EXCL_LINE /***********************************************************************//**