summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2015-04-15 07:45:52 +0000
committerYaron Keren <yaron.keren@gmail.com>2015-04-15 07:45:52 +0000
commit96acdf60a3d5008a56c48513e4a0dfa0e7fc22d3 (patch)
tree8c2a10f1f5aef5f3d3f6dd07ffb96baafba62b4b
parent97375dc751787e59cbb8f7dfdfa6135da8d27de0 (diff)
downloadbcm5719-llvm-96acdf60a3d5008a56c48513e4a0dfa0e7fc22d3.tar.gz
bcm5719-llvm-96acdf60a3d5008a56c48513e4a0dfa0e7fc22d3.zip
Fix lib\support\Windows/TimeValue.inc(48): warning C4189:
'Error' : local variable is initialized but not referenced. llvm-svn: 234982
-rw-r--r--llvm/lib/Support/Windows/TimeValue.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Windows/TimeValue.inc b/llvm/lib/Support/Windows/TimeValue.inc
index 0223ab42448..b90b4f1da00 100644
--- a/llvm/lib/Support/Windows/TimeValue.inc
+++ b/llvm/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
OpenPOWER on IntegriCloud