]> granicus.if.org Git - icinga2/commitdiff
Remove unused variable
authorJean Flach <jean-marcel.flach@netways.de>
Mon, 8 Feb 2016 15:40:34 +0000 (16:40 +0100)
committerJean Flach <jean-marcel.flach@netways.de>
Mon, 8 Feb 2016 15:40:34 +0000 (16:40 +0100)
lib/icinga/comment.cpp

index ee04ca940417df4baac327179540787c333a727c..bbdeb2eeed0e18dd4446be6b1d37d1eea0b54030 100644 (file)
@@ -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() << "'.";