diff options
author | Neil <nyamatongwe@gmail.com> | 2024-05-22 10:17:31 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-05-22 10:17:31 +1000 |
commit | 1589acff0c8429a61b3e3c854efa6278bfc317c4 (patch) | |
tree | 2823b28a2d759a22683dd365a02fcb4d5da8cedc | |
parent | 1a2a480fcb6934b4459a227ec1dc70280ecde683 (diff) | |
download | scintilla-mirror-1589acff0c8429a61b3e3c854efa6278bfc317c4.tar.gz |
Use standard attribute instead of GCC extension to avoid lint diagnostics.
-rwxr-xr-x | gtk/ScintillaGTK.h | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |