1
0
Fork 0
mirror of https://git.suyu.dev/suyu/sirit.git synced 2024-12-22 20:22:02 +00:00

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));
} }