Resolve unused varaible warning in _WIN32 builds of screen_interactive.cpp (#693)

Marks constexpr int timeout_microseconds on line 73 as [[maybe_unused]] to resolve unused variable warning on _WIN32 builds.
This commit is contained in:
cblack-dev 2023-07-02 08:50:31 -07:00 committed by GitHub
parent b2f66c7386
commit c2fef9d377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ void Flush() {
} }
constexpr int timeout_milliseconds = 20; constexpr int timeout_milliseconds = 20;
constexpr int timeout_microseconds = timeout_milliseconds * 1000; [[maybe_unused]] constexpr int timeout_microseconds = timeout_milliseconds * 1000;
#if defined(_WIN32) #if defined(_WIN32)
void EventListener(std::atomic<bool>* quit, Sender<Task> out) { void EventListener(std::atomic<bool>* quit, Sender<Task> out) {