summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src/dbevents.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-18 15:40:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-18 15:40:58 +0300
commit0e854af70f6f330e63aa36fde125fbb0ca4ff8ef (patch)
treed681b5e06a8c572c13d82d0b49b54860fb896843 /plugins/Dbx_sqlite/src/dbevents.cpp
parentd60f86e09f10ab4d55b94c6193b3bb3d3ca46b18 (diff)
C++ exceptions are disabled in all cases where they just prevent warnings
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbevents.cpp')
-rw-r--r--plugins/Dbx_sqlite/src/dbevents.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Dbx_sqlite/src/dbevents.cpp b/plugins/Dbx_sqlite/src/dbevents.cpp
index ba4e91236d..52451b4327 100644
--- a/plugins/Dbx_sqlite/src/dbevents.cpp
+++ b/plugins/Dbx_sqlite/src/dbevents.cpp
@@ -574,9 +574,9 @@ MEVENT CDbxSQLite::FindNextEvent(MCONTACT hContact, MEVENT hDbEvent)
in.Append(")");
CMStringA query(FORMAT, "select id from events where contact_id in %s and id <> %lu and timestamp > (select timestamp from events where contact_id in %s and id = %lu limit 1) order by timestamp, id limit 1;",
- in,
+ in.c_str(),
hDbEvent,
- in,
+ in.c_str(),
hDbEvent);
sqlite3_stmt *stmt;
@@ -628,9 +628,9 @@ MEVENT CDbxSQLite::FindPrevEvent(MCONTACT hContact, MEVENT hDbEvent)
in.Append(")");
CMStringA query(FORMAT, "select id from events where contact_id in %s and id <> %lu and timestamp < (select timestamp from events where contact_id in %s and id = %lu limit 1) order by timestamp desc, id desc limit 1;",
- in,
+ in.c_str(),
hDbEvent,
- in,
+ in.c_str(),
hDbEvent);
sqlite3_stmt *stmt;
@@ -695,12 +695,12 @@ BOOL CDbxSQLite::SetEventId(LPCSTR, MEVENT hDbEvent, LPCSTR szId)
return (rc != SQLITE_DONE);
}
-BOOL CDbxSQLite::MetaMergeHistory(DBCachedContact *ccMeta, DBCachedContact *ccSub)
+BOOL CDbxSQLite::MetaMergeHistory(DBCachedContact*, DBCachedContact*)
{
return TRUE;
}
-BOOL CDbxSQLite::MetaSplitHistory(DBCachedContact *ccMeta, DBCachedContact *ccSub)
+BOOL CDbxSQLite::MetaSplitHistory(DBCachedContact*, DBCachedContact*)
{
return TRUE;
} \ No newline at end of file