Optimize: Always initialize curs_ins->off to zero
commitb48e53c60d4953933dd8899a722ade21ecd25036
authorPetr Tesarik <petr@tesarici.cz>
Tue, 15 May 2018 17:22:43 +0000 (15 19:22 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Thu, 17 May 2018 04:42:09 +0000 (17 06:42 +0200)
tree905a3d665e46923a4340c1c1db5b3114d3a9d390
parentdc807c91d26025496b126edde7c6bb7ddf826e6a
Optimize: Always initialize curs_ins->off to zero

Since hed_file_insert_begin() always creates a zero-sized block, we
can simply use 0 instead of hed_block_size(newblock).

Signed-off-by: Petr Tesarik <petr@tesarici.cz>
libhed/file.c