summaryrefslogtreecommitdiff
path: root/protocols/Yahoo
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-02 21:55:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-02 21:55:57 +0000
commit0ca0de7698b523effaaf6cc9c608e936fa5aaf86 (patch)
tree1e6ce038dc27a1ccddb5e3f863607c83eece2e98 /protocols/Yahoo
parentaeae01dc50a5adea8fe003c8195540b1f2b2169f (diff)
useless calls of mir_*strlen in DrawText replaced with -1
git-svn-id: http://svn.miranda-ng.org/main/trunk@11223 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo')
-rw-r--r--protocols/Yahoo/src/proto.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Yahoo/src/proto.cpp b/protocols/Yahoo/src/proto.cpp
index 635463a261..96a661a942 100644
--- a/protocols/Yahoo/src/proto.cpp
+++ b/protocols/Yahoo/src/proto.cpp
@@ -513,7 +513,6 @@ int __cdecl CYahooProto::SetStatus(int iNewStatus)
void __cdecl CYahooProto::get_status_thread(void *param)
{
- int l;
DBVARIANT dbv;
char *gm = NULL, *sm = NULL, *fm;
MCONTACT hContact = (MCONTACT)param;
@@ -538,7 +537,7 @@ void __cdecl CYahooProto::get_status_thread(void *param)
if (sm) sm = strdup(sm); /* we need this to go global FREE later */
}
- l = 0;
+ size_t l = 0;
if (gm)
l += mir_strlen(gm) + 3;