summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2021-11-01 21:56:30 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-11-03 08:44:41 +0100
commit45a7821eefc564d0da100dafbe26d1fd61134fa9 (patch)
treed6d9b9aaa62e103355a623f30ba6e542b8dc6fcc
parent90e74206b98180b7a185d83d6d20071190e2df59 (diff)
downloadcurl-45a7821eefc564d0da100dafbe26d1fd61134fa9.tar.gz
Revert "src/tool_filetime: disable -Wformat on mingw for this file"
This reverts commit 7c88fe375b15c44d77bccc9ab733b8069d228e6f. Follow up to #6535 as the pragma is obsolete with warnf Closes #7941
-rw-r--r--src/tool_filetime.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tool_filetime.c b/src/tool_filetime.c
index e31fd5914..57ff0c2d9 100644
--- a/src/tool_filetime.c
+++ b/src/tool_filetime.c
@@ -30,11 +30,6 @@
# 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;