aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-10-21 22:56:40 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-10-22 11:22:21 +0100
commit4eb4684eba1abaa71aef19a898b1c7902222dc48 (patch)
tree68b7d81fd123b6d480a17d9e18e95350c2ec0b9d /gcc
parent2cd9855d914e760f4c74ac01ad2f7e9378cd80fa (diff)
downloadgcc-4eb4684eba1abaa71aef19a898b1c7902222dc48.zip
gcc-4eb4684eba1abaa71aef19a898b1c7902222dc48.tar.gz
gcc-4eb4684eba1abaa71aef19a898b1c7902222dc48.tar.bz2
Squash unused parameter warning.
Fixes #750
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/backend/rust-compile-context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-context.h b/gcc/rust/backend/rust-compile-context.h
index fd2c0b5..71baa7c 100644
--- a/gcc/rust/backend/rust-compile-context.h
+++ b/gcc/rust/backend/rust-compile-context.h
@@ -660,7 +660,7 @@ public:
ctx->insert_compiled_type (type.get_ty_ref (), named_struct, &type);
}
- void visit (const TyTy::ClosureType &type) override { gcc_unreachable (); }
+ void visit (const TyTy::ClosureType &) override { gcc_unreachable (); }
private:
TyTyResolveCompile (Context *ctx, bool trait_object_mode)