diff options
Diffstat (limited to 'client/hot_keys.cpp')
-rw-r--r-- | client/hot_keys.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/client/hot_keys.cpp b/client/hot_keys.cpp index d6564b70..929755ac 100644 --- a/client/hot_keys.cpp +++ b/client/hot_keys.cpp @@ -135,8 +135,6 @@ void HotKeysParser::add_hotkey(const std::string& hotkey, const CommandsMap& com } std::string command_name = hotkey.substr(0, key_start); - CommandsMap::const_iterator command = commands_map.find(command_name); - if (commands_map.find(command_name) == commands_map.end()) { char buf[1000]; sprintf(buf, "invalid action bname %s", command_name.c_str()); |