diff options
author | George Hazan <ghazan@miranda.im> | 2020-01-20 19:32:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-01-20 19:32:28 +0300 |
commit | 999d22f6c3c618cde52097547e53703664d7e665 (patch) | |
tree | 651589d4660b8346729c12f0bea93d0570fba1e3 /plugins/BasicHistory | |
parent | 601ec263ad0887d7a8a090badc3c77cfcb24f0d5 (diff) |
db_event_delete: unused parameter removed
Diffstat (limited to 'plugins/BasicHistory')
-rw-r--r-- | plugins/BasicHistory/src/EventList.h | 2 | ||||
-rw-r--r-- | plugins/BasicHistory/src/HistoryWindow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BasicHistory/src/EventList.h b/plugins/BasicHistory/src/EventList.h index 52c70e64c1..3117807923 100644 --- a/plugins/BasicHistory/src/EventList.h +++ b/plugins/BasicHistory/src/EventList.h @@ -97,7 +97,7 @@ protected: void DeleteEvent(const EventIndex& ev)
{
if (!ev.isExternal)
- db_event_delete(m_hContact, ev.hEvent);
+ db_event_delete(ev.hEvent);
}
void RebuildGroup(int selected);
diff --git a/plugins/BasicHistory/src/HistoryWindow.cpp b/plugins/BasicHistory/src/HistoryWindow.cpp index 22053a663c..36ea44152a 100644 --- a/plugins/BasicHistory/src/HistoryWindow.cpp +++ b/plugins/BasicHistory/src/HistoryWindow.cpp @@ -394,7 +394,7 @@ INT_PTR HistoryWindow::DeleteAllUserHistory(WPARAM hContact, LPARAM) MEVENT hDbEvent = db_event_last(hContact);
while (hDbEvent != NULL) {
MEVENT hPrevEvent = db_event_prev(hContact, hDbEvent);
- hDbEvent = (db_event_delete(hContact, hDbEvent) == 0) ? hPrevEvent : NULL;
+ hDbEvent = (db_event_delete(hDbEvent) == 0) ? hPrevEvent : NULL;
}
db_set_safety_mode(TRUE);
|