From 9376a3780685c10390ff90c4145986f5140d41c4 Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Mon, 8 Feb 2016 16:40:34 +0100 Subject: [PATCH] Remove unused variable --- lib/icinga/comment.cpp | 2 -- 1 file changed, 2 deletions(-) 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() << "'."; -- 2.40.0