summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-11 14:11:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-11 15:31:59 +0200
commit5afe093d8994c37d239001e8e272ab86eea62dcb (patch)
tree31e159c01c599beb49b35939029179f32e131b64 /compilerplugins/clang
parent42ca6e53291e975555cc9cd5ecff25bfea556d7e (diff)
remove some debug code
Change-Id: I9098ecbd3e7f96db2206d7c117cf28d0d2d5465f
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/unusedvariablemore.cxx6
1 files changed, 3 insertions, 3 deletions
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();
}
}