summaryrefslogtreecommitdiff
path: root/plugins/Import/src/import.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Import/src/import.cpp')
-rw-r--r--plugins/Import/src/import.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Import/src/import.cpp b/plugins/Import/src/import.cpp
index 6bf2ca229d..b6d6f4ab98 100644
--- a/plugins/Import/src/import.cpp
+++ b/plugins/Import/src/import.cpp
@@ -554,7 +554,7 @@ struct ImportContactData
const char *szBaseProto;
};
-int ModulesEnumProc(const char *szModuleName, DWORD ofsModuleName, LPARAM lParam)
+int ModulesEnumProc(const char *szModuleName, DWORD, LPARAM lParam)
{
ImportContactData *icd = (ImportContactData*)lParam;
if (!mir_strcmp(icd->szBaseProto, szModuleName))
@@ -568,8 +568,6 @@ void ImportContactSettings(AccountMap *pda, MCONTACT hSrc, MCONTACT hDst)
if (pda->pa == NULL)
return;
- char *szDstAcc = pda->pa->szModuleName;
-
ImportContactData icd = { hSrc, hDst, pda->szSrcAcc };
CallService(MS_DB_MODULES_ENUM, (WPARAM)&icd, (LPARAM)ModulesEnumProc);