Fix compiler warning unused variable kill_message.

(cherry picked from commit 54e2b6a829a221cc3abbff3a39ca7d3cafed3a09)
Pick only unused kill_message.
This commit is contained in:
Marek Bel 2020-06-08 14:27:58 +02:00
parent 2c03abade9
commit 200696c764

View File

@ -4977,7 +4977,6 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
} }
#endif // SUPPORT_VERBOSITY #endif // SUPPORT_VERBOSITY
int l_feedmultiply = setup_for_endstop_move(false); //save feedrate and feedmultiply, sets feedmultiply to 100 int l_feedmultiply = setup_for_endstop_move(false); //save feedrate and feedmultiply, sets feedmultiply to 100
const char *kill_message = NULL;
while (mesh_point != nMeasPoints * nMeasPoints) { while (mesh_point != nMeasPoints * nMeasPoints) {
// Get coords of a measuring point. // Get coords of a measuring point.
uint8_t ix = mesh_point % nMeasPoints; // from 0 to MESH_NUM_X_POINTS - 1 uint8_t ix = mesh_point % nMeasPoints; // from 0 to MESH_NUM_X_POINTS - 1