summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-rw-r--r--protocols/Gadu-Gadu/src/core.cpp1
4 files changed, 1 insertions, 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;