diff options
author | Jani Nikula <jani@nikula.org> | 2014-01-17 18:21:05 +0200 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-01-18 14:39:51 -0400 |
commit | f94834407b0af52856b7db4be48c45ae0cf59936 (patch) | |
tree | 9d64647df42dbde39e83d45064d2af9f130dd363 | |
parent | ae47d617a7b4a77dcad1dc89ae5e35abe87f0081 (diff) |
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.
-rw-r--r-- | lib/thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.cc b/lib/thread.cc index 4dcf7053..8f53e122 100644 --- a/lib/thread.cc +++ b/lib/thread.cc @@ -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); |