summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-02-20 21:44:01 +0100
committerMax Kellermann <max@musicpd.org>2017-02-20 21:44:01 +0100
commitbc1c927952461c4de921677446e614527987ac98 (patch)
treea88609d6aa8b006088e2e557047003f381c90d40
parentf95bc85f91a92105c5e19d0ce56e940d6b346e1c (diff)
util/TimeFormat: suppress -Wunused on Windows
-rw-r--r--src/util/TimeParser.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/TimeParser.cxx b/src/util/TimeParser.cxx
index a644bf9cf..1a3417928 100644
--- a/src/util/TimeParser.cxx
+++ b/src/util/TimeParser.cxx
@@ -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;