diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-08-07 09:29:54 +0200 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-08-09 09:19:26 +0000 |
commit | 07046b16e917207f1d2d2e4e066ca1e3f2946369 (patch) | |
tree | 4b4305bb4da5bb6cfd9dc0c4c63a99551fa094f4 | |
parent | be04efc9ce7d97ea88d0236c181135e345d3a518 (diff) | |
download | gcc-07046b16e917207f1d2d2e4e066ca1e3f2946369.zip gcc-07046b16e917207f1d2d2e4e066ca1e3f2946369.tar.gz gcc-07046b16e917207f1d2d2e4e066ca1e3f2946369.tar.bz2 |
Fix a warning about extra semicolon
This semicolon produces several warning in each TU the header file is
included in.
gcc/rust/ChangeLog:
* util/rust-common.h (enum_to_str): Remove extra semicolon after
the function.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
-rw-r--r-- | gcc/rust/util/rust-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/util/rust-common.h b/gcc/rust/util/rust-common.h index 3104a02..92aad3b 100644 --- a/gcc/rust/util/rust-common.h +++ b/gcc/rust/util/rust-common.h @@ -63,7 +63,7 @@ enum_to_str (Mutability mut) return "Mut"; } gcc_unreachable (); -}; +} } // namespace Rust |