mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-03 20:40:17 -05:00
Service::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
01acfb47a9
commit
c899d52e2f
1 changed files with 0 additions and 3 deletions
|
|
@ -144,9 +144,6 @@ int Service::GetSeverity() const
|
|||
} else {
|
||||
severity += 2048;
|
||||
}
|
||||
hlock.Unlock();
|
||||
|
||||
olock.Unlock();
|
||||
|
||||
return severity;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue