From fcaccbf12c092e0e9215ee3ce4c7fb0730b1be6a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 12 Dec 2020 18:12:44 +0100 Subject: [PATCH] Avoid -Wswitch warnings in wxWebRequest test No real changes, just suppress the warnings about not handling all states in a switch. --- tests/net/webrequest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/net/webrequest.cpp b/tests/net/webrequest.cpp index 175fd071fc..b2c0de4223 100644 --- a/tests/net/webrequest.cpp +++ b/tests/net/webrequest.cpp @@ -75,6 +75,10 @@ public: case wxWebRequest::State_Cancelled: loop.Exit(); break; + + case wxWebRequest::State_Idle: + case wxWebRequest::State_Active: + break; } }