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 ArthurSonzogni
parent de6749fed7
commit afb03620da
No known key found for this signature in database
GPG Key ID: 41D98248C074CD6C

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) {