[Libreoffice-commits] core.git: compilerplugins/clang
Noel Grandin
noel.grandin at collabora.co.uk
Wed Apr 11 13:32:29 UTC 2018
compilerplugins/clang/unusedvariablemore.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 5afe093d8994c37d239001e8e272ab86eea62dcb
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Wed Apr 11 14:11:06 2018 +0200
remove some debug code
Change-Id: I9098ecbd3e7f96db2206d7c117cf28d0d2d5465f
diff --git a/compilerplugins/clang/unusedvariablemore.cxx b/compilerplugins/clang/unusedvariablemore.cxx
index 6d8cf871e013..ead91586c460 100644
--- a/compilerplugins/clang/unusedvariablemore.cxx
+++ b/compilerplugins/clang/unusedvariablemore.cxx
@@ -120,9 +120,9 @@ void UnusedVariableMore::run()
{
report(DiagnosticsEngine::Warning, "unused variable %0", varDecl->getLocation())
<< varDecl->getDeclName();
- auto it = interestingDebugMap.find(varDecl);
- if (it != interestingDebugMap.end())
- it->second->dump();
+ //auto it = interestingDebugMap.find(varDecl);
+ //if (it != interestingDebugMap.end())
+ // it->second->dump();
}
}
More information about the Libreoffice-commits
mailing list