forked from Mirrors/btrfs-progs
scrub: fix uninit return variable in scrub_progress_cycle
Signed-off-by: Chris Mason <clm@fb.com>master
parent
7d0ac617c3
commit
7b050795a0
|
@ -865,7 +865,7 @@ static void *progress_one_dev(void *ctx)
|
||||||
/* nb: returns a negative errno via ERR_PTR */
|
/* nb: returns a negative errno via ERR_PTR */
|
||||||
static void *scrub_progress_cycle(void *ctx)
|
static void *scrub_progress_cycle(void *ctx)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret = 0;
|
||||||
int perr = 0; /* positive / pthread error returns */
|
int perr = 0; /* positive / pthread error returns */
|
||||||
int old;
|
int old;
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in New Issue