Commit 0a11b9aa authored by Committed by Linus Torvalds
reiserfs: fix "new_insert_key may be used uninitialized ..."
new_insert_key only makes any sense when it's associated with a new_insert_ptr, which is initialized to NULL and changed to a buffer_head when we also initialize new_insert_key. We can key off of that to avoid the uninitialized warning. Link: http://email@example.comSigned-off-by: Jeff Mahoney <firstname.lastname@example.org> Cc: Arnd Bergmann <email@example.com> Cc: Jan Kara <firstname.lastname@example.org> Cc: Linus Torvalds <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com>
Showing with 2 additions and 1 deletion