diff options
author | Chris Mason <clm@fb.com> | 2014-05-28 17:01:39 -0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-05-28 17:03:05 -0400 |
commit | 7b050795a01acb2bec0db84991b4bc9c8680e275 (patch) | |
tree | 7f9c8a373f823dcb94ff746d6fb0760253dc3d86 | |
parent | 7d0ac617c30edb0a65b85d0e759573f687a46a2b (diff) | |
download | btrfs-progs-integration.tar.gz |
scrub: fix uninit return variable in scrub_progress_cycleintegration
Signed-off-by: Chris Mason <clm@fb.com>
-rw-r--r-- | cmds-scrub.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |