mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 14:14:45 +02:00
Host::GetSeverity(): remove explicit unlocking
No change in functionality. The ObjectLock destructor will implicitly release the locks when returning from the function.
This commit is contained in:
parent
2ebee010f0
commit
d8271c6568
@ -196,8 +196,6 @@ int Host::GetSeverity() const
|
||||
severity += 2048;
|
||||
}
|
||||
|
||||
olock.Unlock();
|
||||
|
||||
return severity;
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user