From 8c0d6a2a3eb9ed0f31e9dbd4ff1c18929932b982 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 27 Aug 2009 14:13:53 +0200 Subject: eliminate global variable g_cw Signed-off-by: Denys Vlasenko --- lib/Plugins/CCpp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Plugins/CCpp.cpp') diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index ba4e78c..b741656 100644 --- a/lib/Plugins/CCpp.cpp +++ b/lib/Plugins/CCpp.cpp @@ -140,8 +140,8 @@ static void InstallDebugInfos(const std::string& pPackage) if (last >= 0 && buff[last] == '\n') buff[last] = '\0'; - log(buff); - update_client(buff); + /* log(buff); - update_client logs it too */ + update_client(buff); /* maybe only if buff != ""? */ #ifdef COMPLAIN_IF_NO_DEBUGINFO if (already_installed == false) -- cgit