super0: set uninitialized variable.

Reported by -O3

Signed-off-by: NeilBrown  <neilb@suse.de>
This commit is contained in:
NeilBrown 2013-06-19 09:51:01 +10:00
parent f80057aec5
commit f69bb60857
1 changed files with 1 additions and 1 deletions

View File

@ -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);