Fix warnings and errors found by the new cppcheck provided static code analysis.
This commit is contained in:
		
							parent
							
								
									b762780343
								
							
						
					
					
						commit
						bb85d083a7
					
				
					 7 changed files with 23 additions and 29 deletions
				
			
		| 
						 | 
				
			
			@ -801,6 +801,7 @@ int read_intel_hex(const char *filename)
 | 
			
		|||
		if (*buf) {
 | 
			
		||||
			if (parse_hex_line(buf) == 0) {
 | 
			
		||||
				//printf("Warning, parse error line %d\n", lineno);
 | 
			
		||||
				fclose(fp);
 | 
			
		||||
				return -2;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue