Bugfix (tiny change)

* src/xheader.c (xheader_read): Remove unnecessary call
to xheader_init.
This commit is contained in:
Ondřej Vašík
2010-02-05 18:39:53 +02:00
committed by Sergey Poznyakoff
parent c4acbdaa97
commit bdb9de4b1e

View File

@@ -694,7 +694,6 @@ xheader_read (struct xheader *xhdr, union block *p, size_t size)
{
size_t j = 0;
xheader_init (xhdr);
size += BLOCKSIZE;
xhdr->size = size;
xhdr->buffer = xmalloc (size + 1);