From 42f5d905b14e6ff490e32da37b4fa4156cfadd2f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 7 Dec 2018 08:58:53 +0100 Subject: [PATCH] client: List all enum values in switch statement --- client/command.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/command.c b/client/command.c index c857717d..2c5f4907 100644 --- a/client/command.c +++ b/client/command.c @@ -378,8 +378,10 @@ error: case CMD_STATUS_FAILED: goto failure; - default: + case CMD_STATUS_TRIGGERED: + case CMD_STATUS_DONE: l_error("Unknown command status."); + break; } if (interactive_mode)