diff options
| author | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2021-01-24 14:43:38 +0200 |
|---|---|---|
| committer | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2021-01-24 14:43:38 +0200 |
| commit | 9260e4cbe28ac2722e5244834d445351e3bde31d (patch) | |
| tree | 34309b5d452932289f092fbefffde75f030229f5 /mu | |
| parent | 01db0a42690f335a1810c2c9a303b348d13c8be0 (diff) | |
mu: avoid some compiler warnings
Diffstat (limited to 'mu')
| -rw-r--r-- | mu/mu-cmd-find.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mu/mu-cmd-find.cc b/mu/mu-cmd-find.cc index 0db2177..7b5b785 100644 --- a/mu/mu-cmd-find.cc +++ b/mu/mu-cmd-find.cc @@ -373,7 +373,7 @@ thread_indent (const QueryMatch& info) const auto last_child{any_of(info.flags & QueryMatch::Flags::Last)}; const auto empty_parent{any_of(info.flags & QueryMatch::Flags::Orphan)}; const auto is_dup{any_of(info.flags & QueryMatch::Flags::Duplicate)}; - const auto is_related{any_of(info.flags & QueryMatch::Flags::Related)}; + //const auto is_related{any_of(info.flags & QueryMatch::Flags::Related)}; /* indent */ for (auto i = info.thread_level; i > 1; --i) @@ -610,8 +610,6 @@ output_query_results (const QueryResults& qres, const MuConfig *opts, GError **e static gboolean process_query (const Query& q, const std::string& expr, const MuConfig *opts, GError **err) { - gboolean rv; - auto qres{run_query (q, expr, opts, err)}; if (!qres) return FALSE; |
