[btr] Fix merge_input_pool().
authorAndre Noll <maan@systemlinux.org>
Wed, 13 Jan 2010 23:11:46 +0000 (00:11 +0100)
committerAndre Noll <maan@systemlinux.org>
Wed, 13 Jan 2010 23:11:46 +0000 (00:11 +0100)
commit8fa697a6fc4430625cfd66fdce6e36bd8aec739b
tree161807f3f94b232ed77708c81c4ad3c1d4e80975
parent70ee2199d293268fac6453a8ec6b3b39d2553f7b
[btr] Fix merge_input_pool().

This function contained the following bug: wbr, buf1 and sz1 could
be used without being initialized. This was sometimes hitting the
assertion (buf1 && buf2).

Fix this by initializing these variables at the top.
buffer_tree.c