aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-03-03 12:26:10 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-03-03 12:26:10 +0100
commitceebfdca57cad727fdea75424a5734891bf1dd5d (patch)
treeaa80998c046417c104cd1de0b7b6e2fd2ec29ace
parent379daf936caa7fc8d7311a5dda101edb40d35ca5 (diff)
downloadlibnitrokey-ceebfdca57cad727fdea75424a5734891bf1dd5d.tar.gz
libnitrokey-ceebfdca57cad727fdea75424a5734891bf1dd5d.tar.bz2
Fix compilation warning
Break was indeed missing this time. Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--include/device_proto.h1
1 files changed, 1 insertions, 0 deletions
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<uint8_t>(stick10::command_status::AES_dec_failed);
resp.device_status = static_cast<uint8_t>(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);