From e44d626b32c534cace3a54d54778dfa9cf3599c9 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 28 Feb 2015 11:12:19 +0000 Subject: Variables: -Minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@12285 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/help.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins/Variables/src/help.cpp') diff --git a/plugins/Variables/src/help.cpp b/plugins/Variables/src/help.cpp index ee22d223ac..e19b39e297 100644 --- a/plugins/Variables/src/help.cpp +++ b/plugins/Variables/src/help.cpp @@ -485,9 +485,6 @@ static BOOL CALLBACK processTokenListMessage(HWND hwndDlg, UINT msg, WPARAM wPar break; size_t len = _tcslen(tr->tszTokenString) + 2; - if (len < 0) - break; - TCHAR *tokenString = (TCHAR*)mir_alloc((len+1)*sizeof(TCHAR)); if (tokenString == NULL) break; -- cgit v1.2.3