mirror of
				https://github.com/troglobit/editline.git
				synced 2025-10-31 16:28:15 +08:00 
			
		
		
		
	Fix for() loop; "statement with no effect" warning from GCC
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
		| @@ -358,7 +358,7 @@ static void reposition(int key) | ||||
|         tty_puts(rl_prompt); | ||||
|     } | ||||
|  | ||||
|     for (i; i < rl_point; i++) { | ||||
|     for (; i < rl_point; i++) { | ||||
|         tty_show(rl_line_buffer[i]); | ||||
|  | ||||
| 	/* move to the next line */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Joachim Nilsson
					Joachim Nilsson