summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/svc_reminder.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-17 22:11:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-17 22:11:59 +0300
commit3ad5334f17119c9ae010d5059f5cfb1831c9ddbd (patch)
tree1d76618499baee7cf217c97dfe2045b467d20a0a /plugins/UserInfoEx/src/svc_reminder.cpp
parentf632783f27da5dd0ed3513bbee6182ea8af30afe (diff)
more warning fixes
Diffstat (limited to 'plugins/UserInfoEx/src/svc_reminder.cpp')
-rw-r--r--plugins/UserInfoEx/src/svc_reminder.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/UserInfoEx/src/svc_reminder.cpp b/plugins/UserInfoEx/src/svc_reminder.cpp
index c1e60e7531..b76227f7de 100644
--- a/plugins/UserInfoEx/src/svc_reminder.cpp
+++ b/plugins/UserInfoEx/src/svc_reminder.cpp
@@ -726,10 +726,10 @@ static INT_PTR BackupBirthdayService(WPARAM hContact, LPARAM lParam)
else {
WORD a1 = 0;
- //walk through all the contacts stored in the DB
- for (auto &hContact : Contacts())
- if (!db_mc_isSub(hContact) && !mdb.DBGetBirthDate(hContact))
- mdb.BackupBirthday(hContact, nullptr, TRUE, &a1);
+ // walk through all the contacts stored in the DB
+ for (auto &cc : Contacts())
+ if (!db_mc_isSub(cc) && !mdb.DBGetBirthDate(cc))
+ mdb.BackupBirthday(cc, nullptr, TRUE, &a1);
}
if (lParam != TRUE) {