From ba4a8fa4d19f54e1c1a6c3102f91fed2d2cba19e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 22 Mar 2022 15:29:55 +0100 Subject: [PATCH] lib1945: fix compiler warning 4706 on MSVC Follow-up from d1e4a677340c Closes #8623 --- tests/libtest/lib1945.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/libtest/lib1945.c b/tests/libtest/lib1945.c index b73135148d..b7caba73be 100644 --- a/tests/libtest/lib1945.c +++ b/tests/libtest/lib1945.c @@ -24,6 +24,10 @@ #include "memdebug.h" +#ifdef _MSC_VER +/* warning C4706: assignment within conditional expression */ +#pragma warning(disable:4706) +#endif static void showem(CURL *easy, unsigned int type) { struct curl_header *header = NULL; -- 2.47.3