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/parse_miranda.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/Variables/src/parse_miranda.cpp') diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index 23f7c42d79..f6dec5c4d0 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -527,11 +527,9 @@ static MEVENT findDbEvent(MCONTACT hContact, MEVENT hDbEvent, int flags) hDbEvent = db_event_prev(hContact, hDbEvent); } else { - MEVENT hMatchEvent, hSearchEvent; - DWORD matchTimestamp, priorTimestamp; + MEVENT hMatchEvent = NULL, hSearchEvent = NULL; + DWORD matchTimestamp = 0, priorTimestamp = 0; - hMatchEvent = hSearchEvent = NULL; - matchTimestamp = priorTimestamp = 0; if (flags & DBE_FIRST) { for (MCONTACT hSearchContact = db_find_first(); hSearchContact; hSearchContact = db_find_next(hSearchContact)) { hSearchEvent = findDbEvent(hSearchContact, NULL, flags); -- cgit v1.2.3