mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 04:21:24 +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:
parent
35506cd22e
commit
12d5584721
@ -358,7 +358,7 @@ static void reposition(int key)
|
|||||||
tty_puts(rl_prompt);
|
tty_puts(rl_prompt);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i; i < rl_point; i++) {
|
for (; i < rl_point; i++) {
|
||||||
tty_show(rl_line_buffer[i]);
|
tty_show(rl_line_buffer[i]);
|
||||||
|
|
||||||
/* move to the next line */
|
/* move to the next line */
|
||||||
|
Loading…
Reference in New Issue
Block a user