Fix compiler warning

This commit is contained in:
GMagician 2017-09-23 15:31:51 +02:00
parent f37ed314e0
commit 00b1b33816

View file

@ -608,7 +608,9 @@ void MarlinSettings::postprocess() {
#endif #endif
if (!eeprom_error) { if (!eeprom_error) {
#if ENABLED(EEPROM_CHITCHAT)
const int eeprom_size = eeprom_index; const int eeprom_size = eeprom_index;
#endif
const uint16_t final_crc = working_crc; const uint16_t final_crc = working_crc;