]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib1945: fix compiler warning 4706 on MSVC
authorDaniel Stenberg <daniel@haxx.se>
Tue, 22 Mar 2022 14:29:55 +0000 (15:29 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 Mar 2022 15:40:03 +0000 (16:40 +0100)
Follow-up from d1e4a677340c

Closes #8623

tests/libtest/lib1945.c

index b73135148df50031d065631f18c01f0964f24feb..b7caba73be0f20f7a671dea08ce62a9902cff9e5 100644 (file)
 
 #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;