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

Merge pull request #9 from lioncash/unused

sirit: Remove unused variable in AddAnnotation()
This commit is contained in:
ReinUsesLisp 2019-03-14 03:49:20 -03:00 committed by GitHub
commit 3ec2231f9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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