Re: [PATCH] btrfs-progs: Initialize ret to suppress compiler warning

2016-12-08 Thread David Sterba
On Thu, Dec 01, 2016 at 11:28:20AM -0600, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues The path that leaves ret unintialized goes through the second if block and requires dback->found_ref to be 0. Quick search leads to several places where it's set according to found items so we won't reach

[PATCH] btrfs-progs: Initialize ret to suppress compiler warning

2016-12-01 Thread Goldwyn Rodrigues
From: Goldwyn Rodrigues Signed-off-by: Goldwyn Rodrigues --- cmds-check.c| 2 +- qgroup-verify.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmds-check.c b/cmds-check.c index 85eaa63..a9501f5 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -8041,7 +8041,7 @@ stati