chore: Ignore edge cases for coverage

This commit is contained in:
Francois Best 2020-04-20 15:36:12 +02:00
parent ae49d3037d
commit b384278b29
1 changed files with 17 additions and 17 deletions

View File

@ -887,7 +887,7 @@ bool MidiInterface<Transport, Settings, Platform>::parse()
// This is obviously wrong. Let's get the hell out'a here. // This is obviously wrong. Let's get the hell out'a here.
mLastError |= 1UL << ErrorParse; // set the ErrorParse bit mLastError |= 1UL << ErrorParse; // set the ErrorParse bit
if (mErrorCallback) if (mErrorCallback)
mErrorCallback(mLastError); mErrorCallback(mLastError); // LCOV_EXCL_LINE
resetInput(); resetInput();
return false; return false;
@ -976,7 +976,7 @@ bool MidiInterface<Transport, Settings, Platform>::parse()
// Well well well.. error. // Well well well.. error.
mLastError |= 1UL << ErrorParse; // set the error bits mLastError |= 1UL << ErrorParse; // set the error bits
if (mErrorCallback) if (mErrorCallback)
mErrorCallback(mLastError); mErrorCallback(mLastError); // LCOV_EXCL_LINE
resetInput(); resetInput();
return false; return false;