compilerplugins/clang/unusedvariablemore.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 5afe093d8994c37d239001e8e272ab86eea62dcb
Author: Noel Grandin <noel.gran...@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();
     }
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to