mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-06 14:57:41 +00:00
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:
parent
058309ba87
commit
dc374b5eb4
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user