Browse Source

Fix compiler warning sketch/ultralcd.cpp:2533:7: warning: unused variable '_cm' [-Wunused-variable]

Marek Bel 6 years ago
parent
commit
1898ef9896
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Firmware/ultralcd.cpp

+ 0 - 1
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;