From 7b050795a01acb2bec0db84991b4bc9c8680e275 Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Wed, 28 May 2014 17:01:39 -0400 Subject: scrub: fix uninit return variable in scrub_progress_cycle Signed-off-by: Chris Mason --- cmds-scrub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds-scrub.c b/cmds-scrub.c index 4338a0b..3510f57 100644 --- a/cmds-scrub.c +++ b/cmds-scrub.c @@ -865,7 +865,7 @@ static void *progress_one_dev(void *ctx) /* nb: returns a negative errno via ERR_PTR */ static void *scrub_progress_cycle(void *ctx) { - int ret; + int ret = 0; int perr = 0; /* positive / pthread error returns */ int old; int i; -- cgit v1.2.1