Fix level 4 warnings under VS

This commit is contained in:
gabi
2014-11-05 01:47:28 +02:00
parent 0c060cf330
commit 0c6518961d
7 changed files with 18 additions and 8 deletions

View File

@@ -134,6 +134,7 @@ inline int utc_minutes_offset(const std::tm& tm = localtime())
{
#ifdef _WIN32
(void)tm; // avoid unused param warning
DYNAMIC_TIME_ZONE_INFORMATION tzinfo;
auto rv = GetDynamicTimeZoneInformation(&tzinfo);
if (!rv)