util/TimeFormat: suppress -Wunused on Windows
This commit is contained in:
parent
f95bc85f91
commit
bc1c927952
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue