diff options
| author | gkostka <kostka.grzegorz@gmail.com> | 2015-10-08 18:50:45 +0200 |
|---|---|---|
| committer | gkostka <kostka.grzegorz@gmail.com> | 2015-10-08 18:50:45 +0200 |
| commit | 9977df1f7776cfbe76a96a996c0adf4125ffe762 (patch) | |
| tree | 95f400b3cb7e9f74e03fe1f2e253453bb8bc41b5 | |
| parent | 368a11f29f6da1a71fc9439a2ffc03a051fe5b60 (diff) | |
Compile warnings fix
| -rw-r--r-- | lwext4/ext4_xattr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lwext4/ext4_xattr.c b/lwext4/ext4_xattr.c index fed2e2d..c8c99c3 100644 --- a/lwext4/ext4_xattr.c +++ b/lwext4/ext4_xattr.c @@ -549,7 +549,8 @@ static int ext4_xattr_write_to_disk(struct ext4_xattr_ref *xattr_ref) { int ret = EOK; bool block_modified = false; - void *ibody_data, *block_data; + void *ibody_data = 0; + void *block_data = 0; struct ext4_xattr_item *item, *save_item; size_t inode_size_rem, block_size_rem; struct ext4_xattr_ibody_header *ibody_header = NULL; |
