From 3090e2af799f5f99952a0782cbed30566aed6881 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Thu, 11 Jun 2020 15:22:06 +0200 Subject: [PATCH] Fix compilation failure due to unused vars. Compilation fails due to warnings-turned-errors. --- src/openrct2-ui/windows/Park.cpp | 1 - src/openrct2/core/FileWatcher.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openrct2-ui/windows/Park.cpp b/src/openrct2-ui/windows/Park.cpp index a4e8d68663..2c5db5e6e9 100644 --- a/src/openrct2-ui/windows/Park.cpp +++ b/src/openrct2-ui/windows/Park.cpp @@ -33,7 +33,6 @@ static constexpr const rct_string_id WINDOW_TITLE = STR_STRINGID; static constexpr const int32_t WH = 224; -static constexpr const int32_t WW = 230; // clang-format off enum WINDOW_PARK_PAGE { diff --git a/src/openrct2/core/FileWatcher.h b/src/openrct2/core/FileWatcher.h index 54028812f0..75182d3803 100644 --- a/src/openrct2/core/FileWatcher.h +++ b/src/openrct2/core/FileWatcher.h @@ -59,7 +59,9 @@ public: ~FileWatcher(); private: +#if defined(_WIN32) || defined(__linux__) bool _finished{}; +#endif void WatchDirectory(); };