summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmds-scrub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-scrub.c b/cmds-scrub.c
index 4338a0b7..3510f57d 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;