From 1081bcdda9af3c80492e43887a5613270de3e142 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 14 Mar 2019 02:41:38 -0400 Subject: [PATCH] sirit: Remove unused variable in AddAnnotation() id isn't used within AddAnnotation, so this can be removed. --- src/sirit.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sirit.cpp b/src/sirit.cpp index 10f5910..3d71403 100644 --- a/src/sirit.cpp +++ b/src/sirit.cpp @@ -133,7 +133,6 @@ Id Module::AddDeclaration(std::unique_ptr op) { } void Module::AddAnnotation(std::unique_ptr op) { - const auto id = op.get(); annotations.push_back(std::move(op)); }