Fix a warning about an uninitialised variable.

The case that doesn't initialise it is impossible,
so just return with an error..
This commit is contained in:
Neil Brown 2007-02-22 14:59:16 +11:00
parent 3e6944b2cc
commit ae491d1e2c
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Changes Prior to this release
- --monitor was producing some meaningless warnings due to a bug.
- Fix some compiler warnings.
Changes Prior to 2.6 release
- Fixed UUID printing in "--detail --brief" for version1 metadata.

View File

@ -1203,6 +1203,8 @@ add_internal_bitmap1(struct supertype *st, void *sbv,
}
}
break;
default:
return 0;
}
if (chunk == UnSet && room > 128*2)