Merge pull request #5328 from esenapaj/Suppress-warning

Suppress warning
This commit is contained in:
Scott Lahteine 2016-11-30 01:05:20 -06:00 committed by GitHub
commit 862e3c93d9

View File

@ -384,7 +384,6 @@ class Planner {
#if ENABLED(ENSURE_SMOOTH_MOVES) #if ENABLED(ENSURE_SMOOTH_MOVES)
static bool long_move() { static bool long_move() {
if (blocks_queued()) { if (blocks_queued()) {
block_t* block = &block_buffer[block_buffer_tail];
return block_buffer_runtime_us > (LCD_UPDATE_THRESHOLD) * 1000UL + (MIN_BLOCK_TIME) * 3000UL; return block_buffer_runtime_us > (LCD_UPDATE_THRESHOLD) * 1000UL + (MIN_BLOCK_TIME) * 3000UL;
} }
else else