mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-09 05:51:00 +00:00
client: gcc 4.6.0: two more unused variable fixes
This commit is contained in:
parent
9076e2e957
commit
d20c90c7ef
@ -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());
|
||||
|
||||
@ -464,7 +464,6 @@ void RedClient::on_disconnect()
|
||||
void RedClient::delete_channels()
|
||||
{
|
||||
Lock lock(_channels_lock);
|
||||
Channels::iterator iter = _channels.begin();
|
||||
while (!_channels.empty()) {
|
||||
RedChannel *channel = *_channels.begin();
|
||||
_channels.pop_front();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user