From a1e7142f17d8474616a4383fc117783f63f11fc1 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 25 Oct 2020 13:00:50 +0100 Subject: [PATCH] Mark max_win32_messages as [[maybe_unused]] ccls/clangd doesn't know that it's being used elsewhere. --- src/wine-host/editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wine-host/editor.h b/src/wine-host/editor.h index dfb3d92e..e7d58ec8 100644 --- a/src/wine-host/editor.h +++ b/src/wine-host/editor.h @@ -44,7 +44,7 @@ * - Melda plugins when having multiple editor windows open within a single * plugin group */ -constexpr int max_win32_messages = 20; +constexpr int max_win32_messages [[maybe_unused]] = 20; /** * Used to store the maximum width and height of a screen.