projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix rename() sometimes failing if another process uses openFileForRead()
[oota-llvm.git]
/
lib
/
Support
/
Windows
/
TimeValue.inc
diff --git
a/lib/Support/Windows/TimeValue.inc
b/lib/Support/Windows/TimeValue.inc
index 0223ab424488737407ddc9190ae14378268269dc..b90b4f1da008693ed2c371fad9ec14f96303fbcb 100644
(file)
--- a/
lib/Support/Windows/TimeValue.inc
+++ b/
lib/Support/Windows/TimeValue.inc
@@
-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