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:
Julian Brost 2025-03-31 13:05:47 +02:00
parent 01acfb47a9
commit c899d52e2f

View File

@ -144,9 +144,6 @@ int Service::GetSeverity() const
} else {
severity += 2048;
}
hlock.Unlock();
olock.Unlock();
return severity;
}