diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-10 10:39:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-10 10:39:56 +0000 |
commit | 0ae717848733ea26d5fda94f2622331bc49ffe5b (patch) | |
tree | 536706bc32d9e40ba873a0e13121daeb4aee25c4 /plugins | |
parent | c891eab8a4f5c44e2d6c942635d1f0e53d48f9d4 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@4412 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Clist_mw/src/clistsettings.cpp | 1 | ||||
-rw-r--r-- | plugins/Variables/src/contact.cpp | 1 | ||||
-rw-r--r-- | plugins/YAMN/src/proto/pop3/pop3comm.cpp | 4 |
3 files changed, 1 insertions, 5 deletions
diff --git a/plugins/Clist_mw/src/clistsettings.cpp b/plugins/Clist_mw/src/clistsettings.cpp index 1bd75f0956..6ea8b05198 100644 --- a/plugins/Clist_mw/src/clistsettings.cpp +++ b/plugins/Clist_mw/src/clistsettings.cpp @@ -40,7 +40,6 @@ static int handleCompare( ClcCacheEntry* c1, ClcCacheEntry* c2 ) void InitDisplayNameCache(SortedList *list)
{
int i, idx;
- HANDLE hContact;
memset(list,0,sizeof(SortedList));
list->sortFunc = (FSortFunc)handleCompare;
diff --git a/plugins/Variables/src/contact.cpp b/plugins/Variables/src/contact.cpp index faec6a8f42..132766ee4d 100644 --- a/plugins/Variables/src/contact.cpp +++ b/plugins/Variables/src/contact.cpp @@ -235,7 +235,6 @@ int getContactFromString( CONTACTSINFO* ci ) TCHAR *szFind, *cInfo, *tszContact, *tszProto;
BOOL bMatch;
DBVARIANT dbv;
- HANDLE hContact;
int count, i;
if (ci == NULL)
diff --git a/plugins/YAMN/src/proto/pop3/pop3comm.cpp b/plugins/YAMN/src/proto/pop3/pop3comm.cpp index da50c74b56..f34251b1c2 100644 --- a/plugins/YAMN/src/proto/pop3/pop3comm.cpp +++ b/plugins/YAMN/src/proto/pop3/pop3comm.cpp @@ -273,10 +273,8 @@ int RegisterPOP3Plugin(WPARAM,LPARAM) HACCOUNT Finder;
DBVARIANT dbv;
- char *szProto;
- for (Finder=POP3Plugin->FirstAccount;Finder != NULL;Finder=Finder->Next)
- {
+ for (Finder=POP3Plugin->FirstAccount;Finder != NULL;Finder=Finder->Next) {
Finder->hContact = NULL;
for (HANDLE hContact = db_find_first(YAMN_DBMODULE); hContact; hContact = db_find_next(hContact, YAMN_DBMODULE)) {
if (!db_get_s(hContact,YAMN_DBMODULE,"Id",&dbv)) {
|