aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs/block_writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs/block_writer.c')
-rw-r--r--lib/sqfs/block_writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfs/block_writer.c b/lib/sqfs/block_writer.c
index 17d045f..f6dea26 100644
--- a/lib/sqfs/block_writer.c
+++ b/lib/sqfs/block_writer.c
@@ -52,8 +52,8 @@ typedef struct {
static int store_block_location(block_writer_default_t *wr, sqfs_u64 offset,
sqfs_u32 size, sqfs_u32 chksum)
{
+ blk_info_t *new;
size_t new_sz;
- void *new;
if (wr->num_blocks == wr->max_blocks) {
new_sz = wr->max_blocks * 2;