diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-11-02 09:52:01 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-02-21 12:36:45 +0100 |
commit | 85f69a9b6abd398f6344135d8094cf8256c6279c (patch) | |
tree | c6841b66a5376f0c717307a52f8a0c7470843233 | |
parent | b84222899cac417ec1aa5dad8311836e4aae028f (diff) | |
download | gcc-85f69a9b6abd398f6344135d8094cf8256c6279c.zip gcc-85f69a9b6abd398f6344135d8094cf8256c6279c.tar.gz gcc-85f69a9b6abd398f6344135d8094cf8256c6279c.tar.bz2 |
gccrs: typecheck: Fix overzealous `delete` call
gcc/rust/ChangeLog:
* typecheck/rust-tyty-call.cc (TypeCheckCallExpr::visit): Fix extra call
to `delete`.
-rw-r--r-- | gcc/rust/typecheck/rust-tyty-call.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/rust/typecheck/rust-tyty-call.cc b/gcc/rust/typecheck/rust-tyty-call.cc index 0c9e9f4..d520b59 100644 --- a/gcc/rust/typecheck/rust-tyty-call.cc +++ b/gcc/rust/typecheck/rust-tyty-call.cc @@ -68,7 +68,6 @@ TypeCheckCallExpr::visit (ADTType &type) return; } - delete res; i++; } |