From 4905425f153a016702d47dd75f5ccd7f890e229b Mon Sep 17 00:00:00 2001 From: Nikola Pajkovsky Date: Wed, 23 Jun 2010 14:36:06 +0200 Subject: Revert "remove extra assignement" This reverts commit 553fe6a2b575ec5556c0c0c32410ac9a6562eb8a. --- lib/Plugins/Bugzilla.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Plugins/Bugzilla.cpp') diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp index 8f0b672a..9e6dd607 100644 --- a/lib/Plugins/Bugzilla.cpp +++ b/lib/Plugins/Bugzilla.cpp @@ -696,7 +696,7 @@ std::string CReporterBugzilla::Report(const map_crash_data_t& pCrashData, if (!result) throw_if_xml_fault_occurred(&bz_server.env); - xmlrpc_value *all_bugs = bz_server.get_member("bugs", result); + xmlrpc_value *all_bugs = all_bugs = bz_server.get_member("bugs", result); xmlrpc_DECREF(result); if (!all_bugs) @@ -705,7 +705,7 @@ std::string CReporterBugzilla::Report(const map_crash_data_t& pCrashData, throw CABRTException(EXCEP_PLUGIN, _("Missing mandatory member 'bugs'")); } - int all_bugs_size = bz_server.get_array_size(all_bugs); + int all_bugs_size = all_bugs_size = bz_server.get_array_size(all_bugs); bug_id = bz_server.get_bug_id(all_bugs); xmlrpc_DECREF(all_bugs); if (bug_id == -1) -- cgit