mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
compile fixes
This commit is contained in:
parent
75c8b2e9a5
commit
037569c4e5
|
@ -240,7 +240,7 @@ static int console_validate(COMMAND *command, struct lexer_result *result)
|
|||
return -1;
|
||||
break;
|
||||
default:
|
||||
// unknown char, so just continue...
|
||||
/* unknown char, so just continue... */
|
||||
c++;
|
||||
continue;
|
||||
}
|
||||
|
@ -275,9 +275,10 @@ void console_execute(const char *str)
|
|||
else if (result.num_tokens > 0)
|
||||
{
|
||||
const char *name;
|
||||
COMMAND *command;
|
||||
extract_result_string(&result, 0, &name);
|
||||
|
||||
COMMAND *command = console_find_command(name);
|
||||
command = console_find_command(name);
|
||||
|
||||
if (command)
|
||||
{
|
||||
|
|
|
@ -17,7 +17,7 @@ static unsigned int console_input_len = 0;
|
|||
static char console_input[256] = {0};
|
||||
static int active = 0;
|
||||
|
||||
static char backlog[256][256] = {0};
|
||||
static char backlog[256][256] = {{0}};
|
||||
static int backlog_len;
|
||||
|
||||
static void client_console_print(const char *str)
|
||||
|
|
Loading…
Reference in a new issue