summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--super0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/super0.c b/super0.c
index e4bbe3e1..47981ac2 100644
--- a/super0.c
+++ b/super0.c
@@ -832,7 +832,7 @@ static int store_super0(struct supertype *st, int fd)
if (st->other) {
/* Writing out v1.0 metadata for --update=metadata */
- int ret;
+ int ret = 0;
offset = dsize/512 - 8*2;
offset &= ~(4*2-1);