cmd: tlv_eeprom
The function show_eeprom is missing int i if debug is enabled. Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
fb1018106a
commit
ee8ce3840a
@ -169,6 +169,9 @@ static void show_eeprom(u8 *eeprom)
|
|||||||
{
|
{
|
||||||
int tlv_end;
|
int tlv_end;
|
||||||
int curr_tlv;
|
int curr_tlv;
|
||||||
|
#ifdef DEBUG
|
||||||
|
int i;
|
||||||
|
#endif
|
||||||
struct tlvinfo_header *eeprom_hdr = to_header(eeprom);
|
struct tlvinfo_header *eeprom_hdr = to_header(eeprom);
|
||||||
struct tlvinfo_tlv *eeprom_tlv;
|
struct tlvinfo_tlv *eeprom_tlv;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user