From ee8ce3840aec25cf38b3059fc43cfa7ca6003f55 Mon Sep 17 00:00:00 2001 From: Sven Auhagen Date: Sun, 12 Sep 2021 09:25:44 +0200 Subject: cmd: tlv_eeprom The function show_eeprom is missing int i if debug is enabled. Signed-off-by: Sven Auhagen Reviewed-by: Stefan Roese --- cmd/tlv_eeprom.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd/tlv_eeprom.c') 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; -- cgit v1.2.1