lib: fix clang compiler warning

With some combination of clang and talloc, not using the return value
of talloc_steal() produces a warning. Ignore it, as talloc_steal() has
no failure modes per documentation.
This commit is contained in:
Jani Nikula 2014-01-17 18:21:05 +02:00 committed by David Bremner
parent ae47d617a7
commit f94834407b

View file

@ -524,7 +524,7 @@ _notmuch_thread_create (void *ctx,
_resolve_thread_relationships (thread); _resolve_thread_relationships (thread);
/* Commit to returning thread. */ /* Commit to returning thread. */
talloc_steal (ctx, thread); (void) talloc_steal (ctx, thread);
DONE: DONE:
talloc_free (local); talloc_free (local);