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
|
#ifdef WIN32
|
||||||
/* TODO: emulate strptime()? */
|
/* TODO: emulate strptime()? */
|
||||||
|
(void)s;
|
||||||
|
(void)format;
|
||||||
throw std::runtime_error("Time parsing not implemented on Windows");
|
throw std::runtime_error("Time parsing not implemented on Windows");
|
||||||
#else
|
#else
|
||||||
struct tm tm;
|
struct tm tm;
|
||||||
|
Loading…
Reference in New Issue
Block a user