aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2024-05-22 10:17:31 +1000
committerNeil <nyamatongwe@gmail.com>2024-05-22 10:17:31 +1000
commit1589acff0c8429a61b3e3c854efa6278bfc317c4 (patch)
tree2823b28a2d759a22683dd365a02fcb4d5da8cedc
parent1a2a480fcb6934b4459a227ec1dc70280ecde683 (diff)
downloadscintilla-mirror-1589acff0c8429a61b3e3c854efa6278bfc317c4.tar.gz
Use standard attribute instead of GCC extension to avoid lint diagnostics.
-rwxr-xr-xgtk/ScintillaGTK.h2
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();