This patch fixes the following make everything compilation error:
Manage.c: In function ‘Manage_add’:
Manage.c:538: error: ‘dev_st’ may be used uninitialized in this function
make: *** [mdadm.Os] Error 1
Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
char *update, unsigned long rdev, unsigned long long array_size)
{
unsigned long long ldsize;
- struct supertype *dev_st;
+ struct supertype *dev_st = NULL;
int j;
mdu_disk_info_t disc;