]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Revert "src/tool_filetime: disable -Wformat on mingw for this file"
authorMarc Hoersken <info@marc-hoersken.de>
Mon, 1 Nov 2021 20:56:30 +0000 (21:56 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 3 Nov 2021 07:44:41 +0000 (08:44 +0100)
This reverts commit 7c88fe375b15c44d77bccc9ab733b8069d228e6f.

Follow up to #6535 as the pragma is obsolete with warnf

Closes #7941

src/tool_filetime.c

index e31fd591406e9e08709a1ac4c490bb541dbcb3c9..57ff0c2d9d87dd778e233cb2999539fd347fd935 100644 (file)
 #  include <sys/utime.h>
 #endif
 
-#if defined(__GNUC__) && defined(__MINGW32__)
-/* GCC 10 on mingw has issues with this, disable */
-#pragma GCC diagnostic ignored "-Wformat"
-#endif
-
 curl_off_t getfiletime(const char *filename, struct GlobalConfig *global)
 {
   curl_off_t result = -1;