aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani@nikula.org>2014-01-17 18:21:05 +0200
committerGravatar David Bremner <david@tethera.net>2014-01-18 14:39:51 -0400
commitf94834407b0af52856b7db4be48c45ae0cf59936 (patch)
tree9d64647df42dbde39e83d45064d2af9f130dd363 /lib
parentae47d617a7b4a77dcad1dc89ae5e35abe87f0081 (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.
Diffstat (limited to 'lib')
-rw-r--r--lib/thread.cc2
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);