summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-12 16:22:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-12 16:22:58 +0300
commit83f3e1dee4b5b3a27a2ca5c177b4ecfd1b02411f (patch)
treeb647da180ab9327f545b04e02cdcb42a3cb1bbd0
parent420e64b205904dfcaa86b063bc0dc1d5bb76e889 (diff)
code cleaning
-rw-r--r--src/mir_app/src/clistcore.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mir_app/src/clistcore.cpp b/src/mir_app/src/clistcore.cpp
index 62beca1588..19b99a15dd 100644
--- a/src/mir_app/src/clistcore.cpp
+++ b/src/mir_app/src/clistcore.cpp
@@ -70,8 +70,6 @@ static void fnReloadProtoMenus(void)
MIR_APP_DLL(CLIST_INTERFACE*) Clist_GetInterface(void)
{
- int rc;
-
if (interfaceInited == 0) {
cli.version = 6;
cli.bDisplayLocked = TRUE;
@@ -206,7 +204,7 @@ MIR_APP_DLL(CLIST_INTERFACE*) Clist_GetInterface(void)
cli.pfnGetAverageMode = fnGetAverageMode;
cli.pfnInitAutoRebuild = fnInitAutoRebuild;
- rc = LoadContactListModule2();
+ int rc = LoadContactListModule2();
if (rc == 0)
rc = LoadCLCModule();
interfaceInited = 1;