Merge pull request #7715 from GMagician/bugfix-2.0.x

[PR] [Marlin 2.0] Fix compiler warning message
This commit is contained in:
Scott Lahteine 2017-09-23 16:55:28 -05:00 committed by GitHub
commit 9a03f758cd

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;