Replace magic value with already defined constant.

pull/2/head
Markus Böhme 2017-03-14 14:14:06 +01:00
parent 09e8ec6f8d
commit 8ca7eb3428
1 changed files with 1 additions and 1 deletions

View File

@ -916,7 +916,7 @@ static const char command_names[][8] = {
static enum command
parse_command(char *command)
{
int found = -2;
int found = COMMAND_UNKNOWN;
size_t len = strlen(command);
int i;
for (i = 0; i < 4; i++) {