diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-06-07 19:24:00 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-06-07 19:24:00 +0000 |
commit | 182ef2d733ab983ce6cc089a321c1699e95de69f (patch) | |
tree | 1b3096a2fe893532550de49735899bd15996f79e /protocols/SkypeWeb | |
parent | ed2a703b18eb112c9696f638bc65f6c8e14f974e (diff) |
SkypeWeb: cppcheck warnings fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14057 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r-- | protocols/SkypeWeb/src/request_queue.h | 4 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_dialogs.h | 3 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_options.cpp | 2 |
3 files changed, 4 insertions, 5 deletions
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"));
|