mirror of https://github.com/Icinga/icinga2.git
Remove unused variable
This commit is contained in:
parent
964cfcebd3
commit
8dbd84daed
|
@ -203,8 +203,6 @@ void Comment::RemoveComment(const String& id, const MessageOrigin::Ptr& origin)
|
||||||
if (!comment)
|
if (!comment)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int legacy_id = comment->GetLegacyId();
|
|
||||||
|
|
||||||
Log(LogNotice, "Comment")
|
Log(LogNotice, "Comment")
|
||||||
<< "Removed comment '" << comment->GetName() << "' from object '" << comment->GetCheckable()->GetName() << "'.";
|
<< "Removed comment '" << comment->GetName() << "' from object '" << comment->GetCheckable()->GetName() << "'.";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue