mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +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:
1 parent
058309ba87
commit
dc374b5eb4
1 file changed
+1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user