mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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:
parent
ae47d617a7
commit
f94834407b
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ _notmuch_thread_create (void *ctx,
|
|||
_resolve_thread_relationships (thread);
|
||||
|
||||
/* Commit to returning thread. */
|
||||
talloc_steal (ctx, thread);
|
||||
(void) talloc_steal (ctx, thread);
|
||||
|
||||
DONE:
|
||||
talloc_free (local);
|
||||
|
|
Loading…
Reference in a new issue