mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00
Fix level 4 warnings under VS
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user