Re-enable cppcheck static analysis unused function checks after adding in special-case suppressions to the event stub functions. Add missing function prototypes to the AudioInput and AudioOutput class driver device demos.
This commit is contained in:
		
							parent
							
								
									0424bd4dbc
								
							
						
					
					
						commit
						00b6b0140f
					
				
					 9 changed files with 29 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -395,17 +395,6 @@ int write_usb_device(HANDLE h, void *buf, int len, int timeout)
 | 
			
		|||
	return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void print_win32_err(void)
 | 
			
		||||
{
 | 
			
		||||
        char buf[256];
 | 
			
		||||
        DWORD err;
 | 
			
		||||
 | 
			
		||||
        err = GetLastError();
 | 
			
		||||
        FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, err,
 | 
			
		||||
                0, buf, sizeof(buf), NULL);
 | 
			
		||||
        printf("err %ld: %s\n", err, buf);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static HANDLE win32_teensy_handle = NULL;
 | 
			
		||||
 | 
			
		||||
int teensy_open(void)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue