summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-09-28 09:33:32 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-09-28 09:33:32 (GMT)
commitbbe6b9522a94a58795f3c4652abb3157eb642c0c (patch)
tree63900c94ae40db3a54ee987dc0d8c9a9128995b3
parentc652fa72b97751d4783a35b90f54fd5baceb4042 (diff)
Fix warning about unused variable.
-rw-r--r--unittests/testllvmparser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/testllvmparser.cpp b/unittests/testllvmparser.cpp
index 7ec339a..66107ba 100644
--- a/unittests/testllvmparser.cpp
+++ b/unittests/testllvmparser.cpp
@@ -83,6 +83,7 @@ public:
virtual std::unique_ptr<clang::ASTConsumer>
CreateASTConsumer(clang::CompilerInstance &Compiler, llvm::StringRef InFile)
{
+ Q_UNUSED(InFile);
return std::unique_ptr<clang::ASTConsumer>(
new FindNamedClassConsumer(&Compiler.getASTContext()));
}