filter: compile fulltext index on mobile

The code is not used yet.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-02-18 16:25:01 +01:00 committed by Dirk Hohndel
parent 2c038a24b0
commit 5bbc0fdb58
7 changed files with 8 additions and 20 deletions

View file

@ -831,9 +831,7 @@ void process_loaded_dives()
/* Autogroup dives if desired by user. */
autogroup_dives(&dive_table, &trip_table);
#ifndef SUBSURFACE_MOBILE
fulltext_reload();
#endif
}
/*
@ -1343,9 +1341,7 @@ int get_dive_id_closest_to(timestamp_t when)
void clear_dive_file_data()
{
#ifndef SUBSURFACE_MOBILE
fulltext_unregister_all();
#endif
while (dive_table.nr)
delete_single_dive(0);