Merge pull request #27 from dtikhonov/201705062137-fix-win-release

Fix bug in Windows optimized build
This commit is contained in:
LiteSpeed Tech 2018-05-06 22:31:52 -04:00 committed by GitHub
commit 3b55db2dfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,11 +177,11 @@ print_timestamp (void)
gettimeofday(&tv, NULL);
#ifdef WIN32
{
#ifndef NDEBUG
errno_t e;
#endif
time_t t = tv.tv_sec;
e = localtime_s(&tm, &t);
#ifndef NDEBUG
errno_t e =
#endif
localtime_s(&tm, &t);
assert(!e);
}
#else