diff options
author | NeilBrown <neilb@suse.de> | 2013-06-19 01:51:01 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-06-19 01:51:01 +0200 |
commit | f69bb60857aaa0e82806c6b027f57cb4af519a18 (patch) | |
tree | a11b434f5101eca4f3297990646fa7b7005f7a3d /super0.c | |
parent | Assemble/Incr: Don't include spares with too-high event count. (diff) | |
download | mdadm-f69bb60857aaa0e82806c6b027f57cb4af519a18.tar.xz mdadm-f69bb60857aaa0e82806c6b027f57cb4af519a18.zip |
super0: set uninitialized variable.
Reported by -O3
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super0.c')
-rw-r--r-- | super0.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |