summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Bugzilla.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-09 12:11:03 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-09 12:11:03 +0200
commit3bab9d79a01ac70a78c012eaa82dccaaa5c59ee5 (patch)
treeb22cb40eac1cff376d2cb0abb066202fe414eae3 /lib/Plugins/Bugzilla.cpp
parent5bfd6ac66529ed1976db7df0ab4853eec855e411 (diff)
downloadabrt-3bab9d79a01ac70a78c012eaa82dccaaa5c59ee5.tar.gz
abrt-3bab9d79a01ac70a78c012eaa82dccaaa5c59ee5.tar.xz
abrt-3bab9d79a01ac70a78c012eaa82dccaaa5c59ee5.zip
fix compile-time warnings.
One fix (in CCrashWatcher::GetPluginsInfo) needs closer look, others are "trivially correct" Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/Bugzilla.cpp')
-rw-r--r--lib/Plugins/Bugzilla.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index 227f269..6bbb75c 100644
--- a/lib/Plugins/Bugzilla.cpp
+++ b/lib/Plugins/Bugzilla.cpp
@@ -8,11 +8,11 @@
#include <string.h>
CReporterBugzilla::CReporterBugzilla() :
- m_sBugzillaURL("https://bugzilla.redhat.com/xmlrpc.cgi"),
- m_bNoSSLVerify(false),
m_pXmlrpcTransport(NULL),
m_pXmlrpcClient(NULL),
- m_pCarriageParm(NULL)
+ m_pCarriageParm(NULL),
+ m_sBugzillaURL("https://bugzilla.redhat.com/xmlrpc.cgi"),
+ m_bNoSSLVerify(false)
{}
CReporterBugzilla::~CReporterBugzilla()
@@ -242,7 +242,6 @@ void CReporterBugzilla::AddAttachments(const std::string& pBugId, const map_cras
map_xmlrpc_params_t attachmentParams;
std::vector<xmlrpc_c::value> ret;
NSSBase64Encoder* base64;
- std::string::size_type pos;
map_crash_report_t::const_iterator it;
for (it = pCrashReport.begin(); it != pCrashReport.end(); it++)