mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 13:55:56 +00:00
Merge pull request #1518 from antonio-nino-diaz-arm/an/fix_mmc
mmc: Fix warning about usage of uninitialized variable
This commit is contained in:
commit
6902e66a6b
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ static int mmc_fill_device_info(void)
|
||||||
unsigned int speed_idx;
|
unsigned int speed_idx;
|
||||||
unsigned int nb_blocks;
|
unsigned int nb_blocks;
|
||||||
unsigned int freq_unit;
|
unsigned int freq_unit;
|
||||||
int ret;
|
int ret = 0;
|
||||||
struct mmc_csd_sd_v2 *csd_sd_v2;
|
struct mmc_csd_sd_v2 *csd_sd_v2;
|
||||||
|
|
||||||
switch (mmc_dev_info->mmc_dev_type) {
|
switch (mmc_dev_info->mmc_dev_type) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue