summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Clist_mw/src/clistsettings.cpp1
-rw-r--r--plugins/Variables/src/contact.cpp1
-rw-r--r--plugins/YAMN/src/proto/pop3/pop3comm.cpp4
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)) {