From 3ea8e90657d8d36ba860dcfdc0e9bf615b3aa3b6 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 9 Aug 2016 13:27:00 +0200 Subject: Remove redundant cast Signed-off-by: Szczepan Zalega --- NitrokeyManager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index 4b7f591..356fde3 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -196,12 +196,12 @@ namespace nitrokey{ const char * NitrokeyManager::get_totp_slot_name(uint8_t slot_number) { assert(is_valid_totp_slot_number(slot_number)); slot_number = get_internal_slot_number_for_totp(slot_number); - return (const char *) get_slot_name(slot_number); + return get_slot_name(slot_number); } const char * NitrokeyManager::get_hotp_slot_name(uint8_t slot_number) { assert(is_valid_hotp_slot_number(slot_number)); slot_number = get_internal_slot_number_for_hotp(slot_number); - return (const char *) get_slot_name(slot_number); + return get_slot_name(slot_number); } const char * NitrokeyManager::get_slot_name(uint8_t slot_number) { -- cgit v1.2.3