diff options
author | Alon Levy <alevy@redhat.com> | 2011-01-25 12:28:26 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-01-25 17:29:31 +0200 |
commit | d20c90c7ef00c36bd5737dcb27da21d43e2f7c9c (patch) | |
tree | 09c9dae86666b50ff3820e14f6fae2c42998d7be /client/hot_keys.cpp | |
parent | 9076e2e9574531443e945e49f9acb6ccaf5458f5 (diff) | |
download | spice-d20c90c7ef00c36bd5737dcb27da21d43e2f7c9c.tar.gz spice-d20c90c7ef00c36bd5737dcb27da21d43e2f7c9c.tar.xz spice-d20c90c7ef00c36bd5737dcb27da21d43e2f7c9c.zip |
client: gcc 4.6.0: two more unused variable fixes
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 60b58a41..053f4990 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()); |