]> git.notmuchmail.org Git - notmuch/blobdiff - lib/thread.cc
lib: make notmuch_threads_valid return FALSE when passed NULL
[notmuch] / lib / thread.cc
index 4dcf7053c0fa76d558a89037908b557833d39506..8f53e12231f2e3f6a93f70997bb188208a990c76 100644 (file)
@@ -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);