Fix lib\support\Windows/TimeValue.inc(48): warning C4189:

'Error' : local variable is initialized but not referenced.

llvm-svn: 234982
This commit is contained in:
Yaron Keren 2015-04-15 07:45:52 +00:00
parent 97375dc751
commit 96acdf60a3
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ std::string TimeValue::str() const {
__time64_t OurTime = this->toEpochTime(); __time64_t OurTime = this->toEpochTime();
int Error = ::_localtime64_s(&Storage, &OurTime); int Error = ::_localtime64_s(&Storage, &OurTime);
assert(!Error); assert(!Error);
(void)Error;
LT = &Storage; LT = &Storage;
#endif #endif