OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
058309b
)
Fix lib\support\Windows/TimeValue.inc(48): warning C4189:
author
Yaron Keren
<yaron.keren@gmail.com>
Wed, 15 Apr 2015 07:45:52 +0000
(07:45 +0000)
committer
Yaron Keren
<yaron.keren@gmail.com>
Wed, 15 Apr 2015 07:45:52 +0000
(07:45 +0000)
'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
lib/Support/Windows/TimeValue.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Windows/TimeValue.inc
b/lib/Support/Windows/TimeValue.inc
index
0223ab4
..
b90b4f1
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