Revert "src/tool_filetime: disable -Wformat on mingw for this file"

This reverts commit 7c88fe375b.

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

Closes #7941
This commit is contained in:
Marc Hoersken 2021-11-01 21:56:30 +01:00 committed by Daniel Stenberg
parent 90e74206b9
commit 45a7821eef
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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;