client: List all enum values in switch statement

This commit is contained in:
Marcel Holtmann 2018-12-07 08:58:53 +01:00
parent 610f9d28f0
commit 42f5d905b1
1 changed files with 3 additions and 1 deletions

View File

@ -378,8 +378,10 @@ error:
case CMD_STATUS_FAILED: case CMD_STATUS_FAILED:
goto failure; goto failure;
default: case CMD_STATUS_TRIGGERED:
case CMD_STATUS_DONE:
l_error("Unknown command status."); l_error("Unknown command status.");
break;
} }
if (interactive_mode) if (interactive_mode)