From: Sven Auhagen Date: Sun, 12 Sep 2021 07:25:44 +0000 (+0200) Subject: cmd: tlv_eeprom X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=ee8ce3840aec25cf38b3059fc43cfa7ca6003f55;p=u-boot.git cmd: tlv_eeprom The function show_eeprom is missing int i if debug is enabled. Signed-off-by: Sven Auhagen Reviewed-by: Stefan Roese --- diff --git a/cmd/tlv_eeprom.c b/cmd/tlv_eeprom.c index 2b643f9587..bf8d453dc5 100644 --- a/cmd/tlv_eeprom.c +++ b/cmd/tlv_eeprom.c @@ -169,6 +169,9 @@ static void show_eeprom(u8 *eeprom) { int tlv_end; int curr_tlv; +#ifdef DEBUG + int i; +#endif struct tlvinfo_header *eeprom_hdr = to_header(eeprom); struct tlvinfo_tlv *eeprom_tlv;