diff options
Diffstat (limited to 'command_id.cc')
-rw-r--r-- | command_id.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/command_id.cc b/command_id.cc index 9a329bc..90f300f 100644 --- a/command_id.cc +++ b/command_id.cc @@ -26,6 +26,9 @@ namespace nitrokey { namespace proto { const char *commandid_to_string(CommandID id) { +#ifdef NO_LOG + return ""; +#endif switch (id) { case CommandID::GET_STATUS: return "GET_STATUS"; |