From 0ae717848733ea26d5fda94f2622331bc49ffe5b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Apr 2013 10:39:56 +0000 Subject: warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@4412 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_mw/src/clistsettings.cpp | 1 - plugins/Variables/src/contact.cpp | 1 - plugins/YAMN/src/proto/pop3/pop3comm.cpp | 4 +--- protocols/Gadu-Gadu/src/core.cpp | 1 - 4 files changed, 1 insertion(+), 6 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)) { diff --git a/protocols/Gadu-Gadu/src/core.cpp b/protocols/Gadu-Gadu/src/core.cpp index e54f313070..4e307e6566 100644 --- a/protocols/Gadu-Gadu/src/core.cpp +++ b/protocols/Gadu-Gadu/src/core.cpp @@ -1506,7 +1506,6 @@ void GGPROTO::notifyuser(HANDLE hContact, int refresh) void GGPROTO::notifyall() { HANDLE hContact; - char *szProto; int count = 0, cc = 0; uin_t *uins; char *types; -- cgit v1.2.3