diff options
Diffstat (limited to 'reftable/block.h')
-rw-r--r-- | reftable/block.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/reftable/block.h b/reftable/block.h index 51699af233..47acc62c0a 100644 --- a/reftable/block.h +++ b/reftable/block.h @@ -84,10 +84,12 @@ struct block_iter { /* key for last entry we read. */ struct strbuf last_key; + struct strbuf scratch; }; #define BLOCK_ITER_INIT { \ .last_key = STRBUF_INIT, \ + .scratch = STRBUF_INIT, \ } /* initializes a block reader. */ |