* [pushed] [gdbsupport] Remove duplicate [[noreturn]] on throw_forced_quit
@ 2026-11-20 10:10 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2026-11-20 10:10 UTC (permalink / raw)
To: gdb-patches
The declaration for throw_forced_quit contains a duplicate [[noreturn]]:
...
[[noreturn]] [[noreturn]] extern void throw_forced_quit (const char *fmt, ...)
...
Remove it.
---
gdbsupport/common-exceptions.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdbsupport/common-exceptions.h b/gdbsupport/common-exceptions.h
index 058260b5f27..442ead090f9 100644
--- a/gdbsupport/common-exceptions.h
+++ b/gdbsupport/common-exceptions.h
@@ -372,7 +372,7 @@ struct gdb_quit_bad_alloc
ATTRIBUTE_PRINTF (2, 3);
[[noreturn]] extern void throw_quit (const char *fmt, ...)
ATTRIBUTE_PRINTF (1, 2);
-[[noreturn]] [[noreturn]] extern void throw_forced_quit (const char *fmt, ...)
+[[noreturn]] extern void throw_forced_quit (const char *fmt, ...)
ATTRIBUTE_PRINTF (1, 2);
#endif /* GDBSUPPORT_COMMON_EXCEPTIONS_H */
base-commit: 1f8cf64b0e4a356be3b105b5ade22c5b17a846cb
--
2.51.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-20 10:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 10:10 [pushed] [gdbsupport] Remove duplicate [[noreturn]] on throw_forced_quit Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox