1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #1243: Fix compilation warning

This commit is contained in:
Ruben S. Montero 2012-05-05 03:23:37 +02:00
parent 7c6e890bde
commit 021cfd6fcd

View File

@ -602,9 +602,6 @@ int DispatchManager::resched(int vid, bool do_resched)
if (vm->get_state() == VirtualMachine::ACTIVE &&
vm->get_lcm_state() == VirtualMachine::RUNNING )
{
Nebula& nd = Nebula::instance();
LifeCycleManager * lcm = nd.get_lcm();
vm->set_resched(do_resched);
vmpool->update(vm);
}