util/TimeFormat: suppress -Wunused on Windows

This commit is contained in:
Max Kellermann 2017-02-20 21:44:01 +01:00
parent f95bc85f91
commit bc1c927952
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ ParseTimePoint(const char *s, const char *format)
#ifdef WIN32
/* TODO: emulate strptime()? */
(void)s;
(void)format;
throw std::runtime_error("Time parsing not implemented on Windows");
#else
struct tm tm;