cppcheck cleanup.
This commit is contained in:
parent
e5e6dbd741
commit
b8c7a6d5ea
1 changed files with 2 additions and 2 deletions
4
misc.c
4
misc.c
|
@ -221,8 +221,8 @@ static char* get_input(void)
|
|||
// Print a blank line
|
||||
printf("\n");
|
||||
|
||||
char* input;
|
||||
while (true) {
|
||||
char* input = "";
|
||||
for (;;) {
|
||||
input = myreadline(input_prompt);
|
||||
|
||||
if (input == NULL) // Got EOF; return with it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue