From 3bab9d79a01ac70a78c012eaa82dccaaa5c59ee5 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 9 Aug 2009 12:11:03 +0200 Subject: fix compile-time warnings. One fix (in CCrashWatcher::GetPluginsInfo) needs closer look, others are "trivially correct" Signed-off-by: Denys Vlasenko --- lib/Plugins/Bugzilla.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/Plugins/Bugzilla.cpp') 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 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 ret; NSSBase64Encoder* base64; - std::string::size_type pos; map_crash_report_t::const_iterator it; for (it = pCrashReport.begin(); it != pCrashReport.end(); it++) -- cgit