summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/src/xstatus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-01-20 19:32:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-01-20 19:32:28 +0300
commit999d22f6c3c618cde52097547e53703664d7e665 (patch)
tree651589d4660b8346729c12f0bea93d0570fba1e3 /plugins/NewXstatusNotify/src/xstatus.cpp
parent601ec263ad0887d7a8a090badc3c77cfcb24f0d5 (diff)
db_event_delete: unused parameter removed
Diffstat (limited to 'plugins/NewXstatusNotify/src/xstatus.cpp')
-rw-r--r--plugins/NewXstatusNotify/src/xstatus.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewXstatusNotify/src/xstatus.cpp b/plugins/NewXstatusNotify/src/xstatus.cpp
index 931f938336..5796e051e3 100644
--- a/plugins/NewXstatusNotify/src/xstatus.cpp
+++ b/plugins/NewXstatusNotify/src/xstatus.cpp
@@ -45,7 +45,7 @@ void RemoveLoggedEventsXStatus(MCONTACT hContact)
auto T = eventListXStatus.rev_iter();
for (auto &it : T)
if (it->hContact == hContact) {
- db_event_delete(it->hContact, it->hDBEvent);
+ db_event_delete(it->hDBEvent);
mir_free(it);
eventListXStatus.remove(T.indexOf(&it));
}
@@ -56,7 +56,7 @@ void RemoveLoggedEventsStatus(MCONTACT hContact)
auto T = eventListStatus.rev_iter();
for (auto &it : T)
if (it->hContact == hContact) {
- db_event_delete(it->hContact, it->hDBEvent);
+ db_event_delete(it->hDBEvent);
mir_free(it);
eventListStatus.remove(T.indexOf(&it));
}
@@ -67,7 +67,7 @@ void RemoveLoggedEventsSMsg(MCONTACT hContact)
auto T = eventListSMsg.rev_iter();
for (auto &it : T)
if (it->hContact == hContact) {
- db_event_delete(it->hContact, it->hDBEvent);
+ db_event_delete(it->hDBEvent);
mir_free(it);
eventListSMsg.remove(T.indexOf(&it));
}