mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Utilities: Mark unused variable with maybe_unused
This marks s_keep_running_repl as maybe_unused as it is set but unused when running on Windows where we don't provide REPL functionality.
This commit is contained in:
Notes:
github-actions[bot]
2026-04-20 21:47:01 +00:00
Author: https://github.com/R-Goc Commit: https://github.com/LadybirdBrowser/ladybird/commit/1ea9c00f7c8 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8994 Reviewed-by: https://github.com/ADKaster ✅
@@ -100,7 +100,7 @@ static RefPtr<Line::Editor> s_editor;
|
||||
#endif
|
||||
static String s_history_path = String {};
|
||||
[[maybe_unused]] static int s_repl_line_level = 0;
|
||||
static bool s_keep_running_repl = true;
|
||||
[[maybe_unused]] static bool s_keep_running_repl = true;
|
||||
static int s_exit_code = 0;
|
||||
|
||||
static ErrorOr<void> print_inline(JS::Value value, Stream& stream)
|
||||
|
||||
Reference in New Issue
Block a user