From ceebfdca57cad727fdea75424a5734891bf1dd5d Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 3 Mar 2018 12:26:10 +0100 Subject: Fix compilation warning Break was indeed missing this time. Signed-off-by: Szczepan Zalega --- include/device_proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/device_proto.h b/include/device_proto.h index ebdcdbd..45a6c16 100644 --- a/include/device_proto.h +++ b/include/device_proto.h @@ -321,6 +321,7 @@ namespace nitrokey { case stick20::device_status::no_user_password_unlock: resp.last_command_status = static_cast(stick10::command_status::AES_dec_failed); resp.device_status = static_cast(stick10::device_status::ok); + break; default: LOG(std::string("Unknown storage device status, cannot translate: ") + std::to_string(resp.storage_status.device_status), Loglevel::DEBUG); -- cgit v1.2.3