From 1589acff0c8429a61b3e3c854efa6278bfc317c4 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 22 May 2024 10:17:31 +1000 Subject: Use standard attribute instead of GCC extension to avoid lint diagnostics. --- gtk/ScintillaGTK.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/ScintillaGTK.h b/gtk/ScintillaGTK.h index 7c9b165cb..126072856 100755 --- a/gtk/ScintillaGTK.h +++ b/gtk/ScintillaGTK.h @@ -293,7 +293,7 @@ private: class GObjectWatcher { GObject *weakRef; - void WeakNotifyThis(GObject *obj G_GNUC_UNUSED) { + void WeakNotifyThis([[maybe_unused]] GObject *obj) { PLATFORM_ASSERT(obj == weakRef); Destroyed(); -- cgit v1.2.3