From 5249b87d9aa7ebbdb7e007b223c62db057efb161 Mon Sep 17 00:00:00 2001 From: Pierre-Emmanuel Patry Date: Mon, 7 Aug 2023 09:29:54 +0200 Subject: [PATCH] gccrs: 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 --- gcc/rust/util/rust-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/rust/util/rust-common.h b/gcc/rust/util/rust-common.h index 763771dceb51..fc8ba6e1e584 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 -- 2.47.2