From a828109809136a3cbc8d76bb173d4b943e3c2a04 Mon Sep 17 00:00:00 2001 From: Semir Puskarevic Date: Wed, 12 Jul 2017 16:53:42 +0200 Subject: [PATCH] Suppress -Wunused-function warning --- tz.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tz.cpp b/tz.cpp index b469a5a..a8ad942 100644 --- a/tz.cpp +++ b/tz.cpp @@ -201,6 +201,8 @@ get_download_folder() # else // !_WIN32 +# if !defined(INSTALL) || HAS_REMOTE_API + static std::string expand_path(std::string path) @@ -224,6 +226,8 @@ get_download_folder() return expand_path("~/Downloads"); } +# endif // !defined(INSTALL) || HAS_REMOTE_API + # endif // !_WIN32 #endif // !USE_OS_TZDB