util/amdfwtool: add missing zero-initialization for local variable

Change-Id: Ib156b16b874f74f58bd816071db3a7acf33c5aaf
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47817
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2020-11-20 20:08:42 +01:00
parent ea3402213f
commit ea3417b5eb
1 changed files with 2 additions and 1 deletions

View File

@ -224,7 +224,8 @@ static uint8_t find_register_fw_filename_bios_dir(char *fw_name, char *filename,
{ {
amd_bios_type fw_type = AMD_BIOS_INVALID; amd_bios_type fw_type = AMD_BIOS_INVALID;
amd_bios_entry *bhd_tableptr; amd_bios_entry *bhd_tableptr;
uint8_t subprog, instance = 0; uint8_t subprog = 0;
uint8_t instance = 0;
(void) (cb_config); /* Remove warning and reserved for future. */ (void) (cb_config); /* Remove warning and reserved for future. */