summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/JSSyntaxHighlighter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/JSSyntaxHighlighter.cpp')
-rw-r--r--Libraries/LibGUI/JSSyntaxHighlighter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Libraries/LibGUI/JSSyntaxHighlighter.cpp b/Libraries/LibGUI/JSSyntaxHighlighter.cpp
index 064be7069e..d2843897b9 100644
--- a/Libraries/LibGUI/JSSyntaxHighlighter.cpp
+++ b/Libraries/LibGUI/JSSyntaxHighlighter.cpp
@@ -63,9 +63,8 @@ bool JSSyntaxHighlighter::is_identifier(void* token) const
return js_token == JS::TokenType::Identifier;
}
-bool JSSyntaxHighlighter::is_navigatable(void* token) const
+bool JSSyntaxHighlighter::is_navigatable([[maybe_unused]] void* token) const
{
- (void)token;
return false;
}