Fix an unintialized return value.
Bug: http://b/131390872 Test: Built aosp_blueline successfully. Change-Id: Iea5255be280dfc089a95fc25a0f988e913c18679
This commit is contained in:
parent
6688eaf23f
commit
45b11d9035
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ int sparse_file_foreach_chunk(struct sparse_file* s, bool sparse, bool crc,
|
|||
int (*write)(void* priv, const void* data, size_t len,
|
||||
unsigned int block, unsigned int nr_blocks),
|
||||
void* priv) {
|
||||
int ret;
|
||||
int ret = 0;
|
||||
int chunks;
|
||||
struct chunk_data chk;
|
||||
struct output_file* out;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue