From a15cd68f0412e1b211e746a2e4d5682e96f5a113 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2015 13:52:01 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YAMN/src/mails/mails.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'plugins/YAMN/src/mails/mails.cpp') diff --git a/plugins/YAMN/src/mails/mails.cpp b/plugins/YAMN/src/mails/mails.cpp index 4b8422ac46..e8793757cd 100644 --- a/plugins/YAMN/src/mails/mails.cpp +++ b/plugins/YAMN/src/mails/mails.cpp @@ -199,27 +199,23 @@ INT_PTR LoadMailDataSvc(WPARAM wParam,LPARAM lParam) if (MailVersion != YAMN_MAILDATAVERSION) return NULL; -//now we have all data to memory persisting, so no loading is needed + // now we have all data to memory persisting, so no loading is needed return (INT_PTR)Mail->MailData; } -INT_PTR UnloadMailDataSvc(WPARAM wParam,LPARAM) +INT_PTR UnloadMailDataSvc(WPARAM, LPARAM) { - HYAMNMAIL Mail=(HYAMNMAIL)wParam; - -//now we should delete structure from memory, but it will be made in future YAMN version return 1; } -INT_PTR SaveMailDataSvc(WPARAM wParam,LPARAM lParam) +INT_PTR SaveMailDataSvc(WPARAM, LPARAM lParam) { - HYAMNMAIL Mail=(HYAMNMAIL)wParam; DWORD MailVersion=(DWORD)lParam; if (MailVersion != YAMN_MAILDATAVERSION) return (INT_PTR)-1; -//now we have all data to memory persisting, so no saving is needed + // now we have all data to memory persisting, so no saving is needed return (INT_PTR)0; } -- cgit v1.2.3