From 1898ef9896bb5d8c634f6feb3da51a0f462dc6f0 Mon Sep 17 00:00:00 2001 From: Marek Bel Date: Thu, 2 Aug 2018 17:02:12 +0200 Subject: [PATCH] Fix compiler warning sketch/ultralcd.cpp:2533:7: warning: unused variable '_cm' [-Wunused-variable] --- Firmware/ultralcd.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 4b20c9fb..7122b3b5 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -2530,7 +2530,6 @@ void lcd_menu_statistics() if (IS_SD_PRINTING) { float _met = ((float)total_filament_used) / (100000.f); - int _cm = (total_filament_used - (_met * 100000)) / 10; int _t = (millis() - starttime) / 1000; int _h = _t / 3600; int _m = (_t - (_h * 3600)) / 60;