From: Daniel Stenberg Date: Tue, 22 Mar 2022 14:29:55 +0000 (+0100) Subject: lib1945: fix compiler warning 4706 on MSVC X-Git-Tag: curl-7_83_0~115 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba4a8fa4d19f54e1c1a6c3102f91fed2d2cba19e;p=thirdparty%2Fcurl.git lib1945: fix compiler warning 4706 on MSVC Follow-up from d1e4a677340c Closes #8623 --- 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;