projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d83846
)
btr: Fix a silly warning.
author
Andre Noll
<maan@systemlinux.org>
Thu, 31 Dec 2009 17:37:41 +0000
(18:37 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 31 Dec 2009 17:37:41 +0000
(18:37 +0100)
buffer_tree.c
patch
|
blob
|
history
diff --git
a/buffer_tree.c
b/buffer_tree.c
index b7420ebeeb38e70f85ad4c9f34fa215b59504f61..1cb295b4de02e3ca3003f83043cf34d536f2ffc5 100644
(file)
--- a/
buffer_tree.c
+++ b/
buffer_tree.c
@@
-166,6
+166,9
@@
size_t btr_get_buffer_by_reference(struct btr_buffer_reference *br, char **buf)
return br_available_bytes(br);
}
+/**
+ * \return zero if the input buffer queue is empty.
+ */
size_t btr_next_buffer(struct btr_node *btrn, char **bufp)
{
struct btr_buffer_reference *br;
@@
-244,7
+247,6
@@
void btr_splice_out_node(struct btr_node *btrn)
assert(list_empty(&btrn->children));
free(btrn->name);
free(btrn);
- return 1;
}
/**