From 0ca0de7698b523effaaf6cc9c608e936fa5aaf86 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 2 Dec 2014 21:55:57 +0000 Subject: 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 --- protocols/Yahoo/src/proto.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/Yahoo/src/proto.cpp') 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; -- cgit v1.2.3