summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2018-06-28 00:12:04 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2018-06-28 00:12:04 +0000
commit98f5475f4402b23efecc8c88f8105d1d25e27c66 (patch)
tree0c44b0b01b7309b2b7937bad86debe469f8b059e /llvm/lib/Transforms
parent4fb586c3494c7c9d35a77d06f4e95b059dea13ba (diff)
downloadbcm5719-llvm-98f5475f4402b23efecc8c88f8105d1d25e27c66.tar.gz
bcm5719-llvm-98f5475f4402b23efecc8c88f8105d1d25e27c66.zip
[CGProfile] Fix unused variable warning.
llvm-svn: 335797
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Instrumentation/CGProfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/CGProfile.cpp b/llvm/lib/Transforms/Instrumentation/CGProfile.cpp
index 8a5ac2b47fa..9606b3da247 100644
--- a/llvm/lib/Transforms/Instrumentation/CGProfile.cpp
+++ b/llvm/lib/Transforms/Instrumentation/CGProfile.cpp
@@ -37,7 +37,7 @@ PreservedAnalyses CGProfilePass::run(Module &M, ModuleAnalysisManager &MAM) {
Count = SaturatingAdd(Count, NewCount);
};
// Ignore error here. Indirect calls are ignored if this fails.
- (bool)Symtab.create(M);
+ (void)(bool)Symtab.create(M);
for (auto &F : M) {
if (F.isDeclaration())
continue;
OpenPOWER on IntegriCloud