ref: 444b819ac8e2d36fa5c0fee8f1de8da70cf9a414
parent: fddf3106293392f19dd4a5ac5f4608d96ded8f12
author: gkostka <kostka.grzegorz@gmail.com>
date: Mon Mar 21 19:01:22 EDT 2016
ext4_journal: fix compilation warnings (may be used uninitialized)
--- a/src/ext4_journal.c
+++ b/src/ext4_journal.c
@@ -1774,7 +1774,7 @@
struct jbd_trans *trans)
{
int rc = EOK, i = 0;
- int32_t tag_tbl_size;
+ int32_t tag_tbl_size = 0;
uint32_t desc_iblock = 0;
uint32_t data_iblock = 0;
char *tag_start = NULL, *tag_ptr = NULL;
@@ -1939,7 +1939,7 @@
struct jbd_trans *trans)
{
int rc = EOK, i = 0;
- int32_t tag_tbl_size;
+ int32_t tag_tbl_size = 0;
uint32_t desc_iblock = 0;
char *blocks_entry = NULL;
struct jbd_revoke_rec *rec, *tmp;