diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2018-03-03 16:09:36 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-03-03 16:09:36 +0100 |
commit | a45058113557780cb0cff32a61f39a3f36a96f33 (patch) | |
tree | aa80998c046417c104cd1de0b7b6e2fd2ec29ace /include | |
parent | 379daf936caa7fc8d7311a5dda101edb40d35ca5 (diff) | |
parent | ceebfdca57cad727fdea75424a5734891bf1dd5d (diff) | |
download | libnitrokey-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.h | 1 |
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); |