From 182ef2d733ab983ce6cc089a321c1699e95de69f Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sun, 7 Jun 2015 19:24:00 +0000 Subject: SkypeWeb: cppcheck warnings fix. git-svn-id: http://svn.miranda-ng.org/main/trunk@14057 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/request_queue.h | 4 ++-- protocols/SkypeWeb/src/skype_dialogs.h | 3 +-- protocols/SkypeWeb/src/skype_options.cpp | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'protocols/SkypeWeb/src') diff --git a/protocols/SkypeWeb/src/request_queue.h b/protocols/SkypeWeb/src/request_queue.h index d4ceb1f0ae..c8e1948819 100644 --- a/protocols/SkypeWeb/src/request_queue.h +++ b/protocols/SkypeWeb/src/request_queue.h @@ -27,10 +27,10 @@ struct RequestQueueItem HttpResponseCallback responseCallback; RequestQueueItem(HttpRequest *request, void *arg) : - request(request), responseCallback(NULL), arg(arg) { } + arg(arg), request(request), responseCallback(NULL) { } RequestQueueItem(HttpRequest *request, HttpResponseCallback response, void *arg) : - request(request), responseCallback(response), arg(arg) { } + arg(arg), request(request), responseCallback(response) { } ~RequestQueueItem() { diff --git a/protocols/SkypeWeb/src/skype_dialogs.h b/protocols/SkypeWeb/src/skype_dialogs.h index 8144d17d07..1fbc7ec80c 100644 --- a/protocols/SkypeWeb/src/skype_dialogs.h +++ b/protocols/SkypeWeb/src/skype_dialogs.h @@ -25,11 +25,10 @@ class CSkypePasswordEditor : public CSkypeDlgBase private: typedef CSkypeDlgBase CSuper; + CCtrlButton m_ok; CCtrlEdit m_password; CCtrlCheck m_savePermanently; - CCtrlButton m_ok; - protected: void OnInitDialog() { diff --git a/protocols/SkypeWeb/src/skype_options.cpp b/protocols/SkypeWeb/src/skype_options.cpp index a67545114a..9f21c48e5b 100644 --- a/protocols/SkypeWeb/src/skype_options.cpp +++ b/protocols/SkypeWeb/src/skype_options.cpp @@ -22,10 +22,10 @@ CSkypeOptionsMain::CSkypeOptionsMain(CSkypeProto *proto, int idDialog) m_skypename(this, IDC_SKYPENAME), m_password(this, IDC_PASSWORD), m_group(this, IDC_GROUP), + m_place(this, IDC_PLACE), m_autosync(this, IDC_AUTOSYNC), m_localtime(this, IDC_LOCALTIME), m_allasunread(this, IDC_MESASUREAD), - m_place(this, IDC_PLACE), m_usehostname(this, IDC_USEHOST) { CreateLink(m_group, SKYPE_SETTINGS_GROUP, _T("Skype")); -- cgit v1.2.3