From 15c598fd6aa37ba385c80ca824d6e7fcd83659f3 Mon Sep 17 00:00:00 2001 From: Marek Bel Date: Wed, 1 Aug 2018 19:38:05 +0200 Subject: [PATCH] Fix compiler warning: sketch/Dcodes.cpp: In function 'void print_eeprom(uint16_t, uint16_t, uint8_t)': sketch/Dcodes.cpp:37:12: warning: unused variable 'data' [-Wunused-variable] --- Firmware/Dcodes.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Firmware/Dcodes.cpp b/Firmware/Dcodes.cpp index d1ddc61e..554ec48d 100644 --- a/Firmware/Dcodes.cpp +++ b/Firmware/Dcodes.cpp @@ -34,7 +34,6 @@ void print_eeprom(uint16_t address, uint16_t count, uint8_t countperline = 16) uint8_t count_line = countperline; while (count && count_line) { - uint8_t data = 0; putchar(' '); print_hex_byte(eeprom_read_byte((uint8_t*)address++)); count_line--;