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:
parent
7c6e890bde
commit
021cfd6fcd
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user