aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-03-03 16:09:36 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-03-03 16:09:36 +0100
commita45058113557780cb0cff32a61f39a3f36a96f33 (patch)
treeaa80998c046417c104cd1de0b7b6e2fd2ec29ace /include
parent379daf936caa7fc8d7311a5dda101edb40d35ca5 (diff)
parentceebfdca57cad727fdea75424a5734891bf1dd5d (diff)
downloadlibnitrokey-a45058113557780cb0cff32a61f39a3f36a96f33.tar.gz
libnitrokey-a45058113557780cb0cff32a61f39a3f36a96f33.tar.bz2
Merge branch 'compilation_warnings'
Fix compilation warning with missing 'break'
Diffstat (limited to 'include')
-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);