fix compilation error / clang warnings
This commit is contained in:
@ -541,8 +541,8 @@ static gboolean
|
||||
output_sexp (MuMsg *msg, MuMsgIter *iter, const MuConfig *opts, GError **err)
|
||||
{
|
||||
const auto *ti{opts->threads ? mu_msg_iter_get_thread_info (iter) : NULL};
|
||||
const auto sexp{Mu:Mu::msg_to_sexp(msg , mu_msg_iter_get_docid (iter), ti,
|
||||
MU_MSG_OPTION_HEADERS_ONLY)};
|
||||
const auto sexp{Mu::msg_to_sexp(msg , mu_msg_iter_get_docid (iter), ti,
|
||||
MU_MSG_OPTION_HEADERS_ONLY)};
|
||||
fputs (to_string(sexp, !opts->nocolor).c_str(), stdout);
|
||||
fputs ("\n", stdout);
|
||||
|
||||
|
||||
@ -372,7 +372,7 @@ static bool
|
||||
add_path_func (Mu::Store& store, const char *path, GError **err)
|
||||
{
|
||||
const auto docid = store.add_message (path);
|
||||
g_debug ("added message @ %s, docid=%u", docid);
|
||||
g_debug ("added message @ %s, docid=%u", path, docid);
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -415,7 +415,7 @@ tickle_func (Mu::Store& store, const char *path, GError **err)
|
||||
return false;
|
||||
|
||||
const auto res = mu_msg_tickle (msg, err);
|
||||
g_debug ("tickled %s (%s)", res ? "ok" : "failed");
|
||||
g_debug ("tickled %s (%s)", path, res ? "ok" : "failed");
|
||||
mu_msg_unref (msg);
|
||||
|
||||
return res == TRUE;
|
||||
|
||||
Reference in New Issue
Block a user