From: Jean Flach Date: Mon, 8 Feb 2016 15:40:34 +0000 (+0100) Subject: Remove unused variable X-Git-Tag: v2.5.0~545 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8dbd84daedc11a14407f5cf4f5a756e6785988b8;p=icinga2 Remove unused variable --- 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() << "'.";