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:
Julian Brost 2025-03-31 13:23:07 +02:00
parent 2ebee010f0
commit d8271c6568

View File

@ -196,8 +196,6 @@ int Host::GetSeverity() const
severity += 2048;
}
olock.Unlock();
return severity;
}