mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 13:14:32 +02:00
Checkable#process_check_result(): don't pass NULL CR to Checkable#ProcessCheckResult()
It's ignored anyway.
This commit is contained in:
parent
a65f2d6b41
commit
55fc0e51ff
@ -14,7 +14,10 @@ static void CheckableProcessCheckResult(const CheckResult::Ptr& cr)
|
||||
ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
|
||||
Checkable::Ptr self = vframe->Self;
|
||||
REQUIRE_NOT_NULL(self);
|
||||
self->ProcessCheckResult(cr);
|
||||
|
||||
if (cr) {
|
||||
self->ProcessCheckResult(cr);
|
||||
}
|
||||
}
|
||||
|
||||
Object::Ptr Checkable::GetPrototype()
|
||||
|
Loading…
x
Reference in New Issue
Block a user