sparse: fix use of indeterminate value

* src/xheader.c (sparse_map_decoder): Move 'e' up from loop-block.
This commit is contained in:
Pavel Raiskup
2015-12-17 16:01:18 +02:00
committed by Sergey Poznyakoff
parent 0f26331b17
commit b5f581e637

View File

@@ -1456,13 +1456,13 @@ sparse_map_decoder (struct tar_stat_info *st,
size_t size __attribute__((unused)))
{
int offset = 1;
struct sp_array e;
st->sparse_map_avail = 0;
while (1)
{
intmax_t u;
char *delim;
struct sp_array e;
if (!ISDIGIT (*arg))
{