summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-08-30 06:00:21 +0000
committerLang Hames <lhames@gmail.com>2016-08-30 06:00:21 +0000
commitba878321682c3c4ae70ac20f357c847632d33ce9 (patch)
treed711fd036e746a3a36aa961a5fbe89a2ebd33f78 /include
parentfd61a9849ed1bc5c3f8e3e039f7b1237a4345b55 (diff)
[Support][Error] Suppress warning about unused result.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/Error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Error.h b/include/llvm/Support/Error.h
index bd488e4ed8d..d4d4a00ebdd 100644
--- a/include/llvm/Support/Error.h
+++ b/include/llvm/Support/Error.h
@@ -646,7 +646,7 @@ public:
#endif // NDEBUG
{
new (getErrorStorage()) Error();
- !!*getErrorStorage();
+ (void)!!*getErrorStorage();
}
#endif // _MSC_VER