projects
/
lwext4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fddf310
)
ext4_journal: fix compilation warnings (may be used uninitialized)
author
gkostka
<kostka.grzegorz@gmail.com>
Mon, 21 Mar 2016 22:01:22 +0000
(23:01 +0100)
committer
gkostka
<kostka.grzegorz@gmail.com>
Mon, 21 Mar 2016 22:01:22 +0000
(23:01 +0100)
src/ext4_journal.c
patch
|
blob
|
history
diff --git
a/src/ext4_journal.c
b/src/ext4_journal.c
index e90f94c0d188d8e800b136bdea6476837e6cc906..b1c3e8f84fd627992d72eb9b84da2e8c3c00df68 100644
(file)
--- a/
src/ext4_journal.c
+++ b/
src/ext4_journal.c
@@
-1774,7
+1774,7
@@
static int jbd_journal_prepare(struct jbd_journal *journal,
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
@@
jbd_journal_prepare_revoke(struct jbd_journal *journal,
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;