Commit 00fa6328 authored by Mickaël Turnel's avatar Mickaël Turnel

Fix gcc warning when database storage is disabled

parent 82b1518f
......@@ -206,6 +206,7 @@ namespace {
};
}
#ifdef HAVE_DB_STORAGE
static const char *mapEventFilterToSql (MainDb::Filter filter) {
return mapEnumToSql(
EventFilterToSql, sizeof EventFilterToSql / sizeof EventFilterToSql[0], filter
......@@ -243,6 +244,7 @@ static string buildSqlEventFilter (
return sql;
}
#endif
// -----------------------------------------------------------------------------
// Misc helpers.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment