From 0b815024360897deadd575f88d225930d2db59b5 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Thu, 4 Aug 2016 12:06:24 +0200 Subject: Remove commented code Signed-off-by: Szczepan Zalega --- NK_C_API.h | 2 -- NitrokeyManager.cc | 3 --- 2 files changed, 5 deletions(-) diff --git a/NK_C_API.h b/NK_C_API.h index a25c528..5554426 100644 --- a/NK_C_API.h +++ b/NK_C_API.h @@ -8,8 +8,6 @@ extern "C" { -//Make sure each function's declaration is in one line (for automatic python declaration processing) - /** * Set debug level of messages written on stderr * @param state state=True - all messages, state=False - only errors level diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index 488c5fe..f7b3492 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -186,11 +186,8 @@ namespace nitrokey{ strcpyT(auth.temporary_password, temporary_password); auth.crc_to_authorize = WriteToTOTPSlot::CommandTransaction::getCRC(payload); Authorize::CommandTransaction::run(*device, auth); -// auto auth_successful = device->last_command_sucessfull(); auto resp = WriteToTOTPSlot::CommandTransaction::run(*device, payload); -// auto write_successful = device->last_command_sucessfull(); -// return auth_successful && write_successful; //left to show alternative approach return true; } -- cgit v1.2.3