Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
core/xfs: Silence compiler warning
"may be used uninitialized in this function [-Wuninitialized]" even though logic dictates
it must be OK.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
  • Loading branch information
geneC committed Jan 19, 2016
1 parent 1269b5d commit 496bb8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/fs/xfs/xfs_dir2.c
Expand Up @@ -630,7 +630,7 @@ struct inode *xfs_dir2_node_find_entry(const char *dname, struct inode *parent,
block_t fsblkno;
xfs_da_node_hdr_t *nhdr;
uint32_t hashwant;
uint32_t hash;
uint32_t hash = 0;
uint16_t i;
uint16_t count;
xfs_da_node_entry_t *btree;
Expand All @@ -645,7 +645,7 @@ struct inode *xfs_dir2_node_find_entry(const char *dname, struct inode *parent,
uint8_t *end_name;
int low;
int high;
int mid;
int mid = 0;
uint32_t newdb;
uint32_t curdb;
xfs_intino_t ino;
Expand Down

0 comments on commit 496bb8c

Please sign in to comment.