]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix uninit warning in backref.c
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 26 Jan 2012 20:01:11 +0000 (15:01 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 26 Jan 2012 20:01:11 +0000 (15:01 -0500)
commit63e1036fb6b264fc0521b21dee8081f23452cf26
treeda4f29173700701bc1aa0ad17fdb436305fd3513
parentb0703c408f7c075bd5b0ef2203d5bea7803e2aa7
Btrfs: fix uninit warning in backref.c

Added initialization with the declaration of ret. It isn't set later on the
switch-default branch (which should never be taken).

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/backref.c