diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-02-18 16:25:01 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-01 10:21:44 -0800 |
commit | 5bbc0fdb586547fa1db887e82ff6556febbabc43 (patch) | |
tree | 845552cd10fc9448d1d2f7364c00f3465bb177dd /core/dive.c | |
parent | 2c038a24b0931670f94c991a239223fc57ff85f4 (diff) | |
download | subsurface-5bbc0fdb586547fa1db887e82ff6556febbabc43.tar.gz |
filter: compile fulltext index on mobile
The code is not used yet.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.c')
-rw-r--r-- | core/dive.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/dive.c b/core/dive.c index e1bf92e0a..ca4b0b705 100644 --- a/core/dive.c +++ b/core/dive.c @@ -17,9 +17,7 @@ #include "tag.h" #include "trip.h" #include "structured_list.h" -#ifndef SUBSURFACE_MOBILE #include "fulltext.h" -#endif /* one could argue about the best place to have this variable - @@ -360,9 +358,7 @@ static void free_dive_structures(struct dive *d) { if (!d) return; -#ifndef SUBSURFACE_MOBILE fulltext_unregister(d); -#endif /* free the strings */ free(d->buddy); free(d->divemaster); @@ -408,9 +404,7 @@ static void copy_dive_nodc(const struct dive *s, struct dive *d) *d = *s; memset(&d->cylinders, 0, sizeof(d->cylinders)); memset(&d->weightsystems, 0, sizeof(d->weightsystems)); -#ifndef SUBSURFACE_MOBILE d->full_text = NULL; -#endif invalidate_dive_cache(d); d->buddy = copy_string(s->buddy); d->divemaster = copy_string(s->divemaster); |