summaryrefslogtreecommitdiffstats
path: root/client/hot_keys.cpp
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-01-25 12:28:26 +0200
committerAlon Levy <alevy@redhat.com>2011-01-27 12:48:53 +0200
commitc89c70888869a3cf54633016b3b0bc7f7a219f4c (patch)
tree6f584fdb2ea7dc1b7e6a12354b7416e631c0afb6 /client/hot_keys.cpp
parentfc1b89dd5c06dfbe4091a1e655b54785a9bbd8d0 (diff)
downloadspice-c89c70888869a3cf54633016b3b0bc7f7a219f4c.tar.gz
spice-c89c70888869a3cf54633016b3b0bc7f7a219f4c.tar.xz
spice-c89c70888869a3cf54633016b3b0bc7f7a219f4c.zip
client: gcc 4.6.0: two more unused variable fixes
Diffstat (limited to 'client/hot_keys.cpp')
-rw-r--r--client/hot_keys.cpp2
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());