Exclude %V from coverage since we removed it from the test suite.

This commit is contained in:
Eric S. Raymond 2017-08-01 19:55:34 -04:00
parent 6c7e5a3ac1
commit 06c8c97738

2
misc.c
View file

@ -93,6 +93,7 @@ static void vspeak(const char* msg, bool blank, va_list ap)
}
}
// LCOV_EXCL_START - doesn't occur in test suite.
/* Version specifier */
if (msg[i] == 'V') {
strcpy(renderp, VERSION);
@ -100,6 +101,7 @@ static void vspeak(const char* msg, bool blank, va_list ap)
renderp += len;
size -= len;
}
// LCOV_EXCL_STOP
}
}
*renderp = 0;