chore: Ignore edge cases for coverage
This commit is contained in:
		
							parent
							
								
									ae49d3037d
								
							
						
					
					
						commit
						b384278b29
					
				|  | @ -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; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Francois Best
						Francois Best