diff --git a/lib/icinga/comment.cpp b/lib/icinga/comment.cpp index ee04ca940..bbdeb2eee 100644 --- a/lib/icinga/comment.cpp +++ b/lib/icinga/comment.cpp @@ -203,8 +203,6 @@ void Comment::RemoveComment(const String& id, const MessageOrigin::Ptr& origin) if (!comment) return; - int legacy_id = comment->GetLegacyId(); - Log(LogNotice, "Comment") << "Removed comment '" << comment->GetName() << "' from object '" << comment->GetCheckable()->GetName() << "'.";