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

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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234982 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Yaron Keren committed 2015-04-15 07:45:52 +00:00
1 parent 058309ba87
commit dc374b5eb4
1 file changed
+1
+1
View File
@@ -47,6 +47,7 @@ std::string TimeValue::str() const {
__time64_t OurTime = this->toEpochTime();
int Error = ::_localtime64_s(&Storage, &OurTime);
assert(!Error);
(void)Error;
LT = &Storage;
#endif