diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-02-28 11:12:19 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-02-28 11:12:19 +0000 |
commit | e44d626b32c534cace3a54d54778dfa9cf3599c9 (patch) | |
tree | a95c360ecc005240041a31fc1c13554cd72dfefb /plugins/Variables/src/parse_miranda.cpp | |
parent | b1530a48bd67d19f6a18355e04a884b36c696e8b (diff) |
Variables:
-Minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12285 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/parse_miranda.cpp')
-rw-r--r-- | plugins/Variables/src/parse_miranda.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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);
|