]> git.ozlabs.org Git - ccan/blobdiff - ccan/aga/bfs.c
tal/str: always create strings which have tal_count() == strlen() + 1.
[ccan] / ccan / aga / bfs.c
index 64fdd485a2573a3f548c26868f82eb869f6e628e..b41136081f10027dcd6afe49ad743a39ecf9ac10 100644 (file)
@@ -32,7 +32,7 @@ static struct aga_node *bfs_front(bfs_queue *queue)
 
 static void bfs_dequeue(bfs_queue *queue)
 {
-       lqueue_dequeue(queue);
+       (void) lqueue_dequeue(queue);
 }
 
 int aga_bfs_start(struct aga_graph *g)