remove unnecessary port flush
This commit is contained in:
		
							parent
							
								
									f368eb390d
								
							
						
					
					
						commit
						e792d9ffd1
					
				| 
						 | 
				
			
			@ -245,7 +245,7 @@ pic_fgets(pic_state *pic, char *s, int size, pic_value port)
 | 
			
		|||
  int c = 0;
 | 
			
		||||
  char *buf;
 | 
			
		||||
 | 
			
		||||
  pic_fflush(pic, pic_false_value(pic));
 | 
			
		||||
  pic_fflush(pic, port);
 | 
			
		||||
 | 
			
		||||
  if (size == 0) {
 | 
			
		||||
    return NULL;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue