Selaa lähdekoodia

Merge branch 'master' of git://git.denx.de/u-boot-ubi

Wolfgang Denk 15 vuotta sitten
vanhempi
commit
74b86d2d51
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      common/cmd_ubi.c

+ 1 - 1
common/cmd_ubi.c

@@ -190,7 +190,7 @@ static int ubi_remove_vol(char *volume)
 {
 	int i, err, reserved_pebs;
 	int found = 0, vol_id = 0;
-	struct ubi_volume *vol;
+	struct ubi_volume *vol = NULL;
 
 	for (i = 0; i < ubi->vtbl_slots; i++) {
 		vol = ubi->volumes[i];