From 999d22f6c3c618cde52097547e53703664d7e665 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 20 Jan 2020 19:32:28 +0300 Subject: db_event_delete: unused parameter removed --- plugins/NewXstatusNotify/src/xstatus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/NewXstatusNotify/src/xstatus.cpp') 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)); } -- cgit v1.2.3