fix unused variable

This commit is contained in:
gfgtdf 2015-12-30 01:49:18 +01:00
parent 256069f26f
commit feb78d8f9c

View file

@ -352,7 +352,7 @@ turn_info::PROCESS_DATA_RESULT turn_info::process_network_data(const config& cfg
}
//If this client becomes the new host, notify the play_controller object about it
else if (const config &cfg_host_transfer = cfg.child("host_transfer")){
else if (cfg.child("host_transfer")){
host_transfer_.notify_observers();
}
else