summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-27 14:13:53 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-27 14:13:53 +0200
commit8c0d6a2a3eb9ed0f31e9dbd4ff1c18929932b982 (patch)
tree010709b30117a40e62ad888692b57177a921bd2e /lib
parent1dbb6423000e2fcd3fe9a1b6ddbf6200d522d470 (diff)
downloadabrt-8c0d6a2a3eb9ed0f31e9dbd4ff1c18929932b982.tar.gz
abrt-8c0d6a2a3eb9ed0f31e9dbd4ff1c18929932b982.tar.xz
abrt-8c0d6a2a3eb9ed0f31e9dbd4ff1c18929932b982.zip
eliminate global variable g_cw
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/CCpp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp
index ba4e78cd..b7416563 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)