sirit: Remove unused variable in AddAnnotation()

id isn't used within AddAnnotation, so this can be removed.
This commit is contained in:
Lioncash 2019-03-14 02:41:38 -04:00
parent 057b100a68
commit 1081bcdda9

View File

@ -133,7 +133,6 @@ Id Module::AddDeclaration(std::unique_ptr<Op> op) {
} }
void Module::AddAnnotation(std::unique_ptr<Op> op) { void Module::AddAnnotation(std::unique_ptr<Op> op) {
const auto id = op.get();
annotations.push_back(std::move(op)); annotations.push_back(std::move(op));
} }