From 1eab058ad46ae9e4943a49f326bf259f756b2dab Mon Sep 17 00:00:00 2001 From: Marek Bel Date: Tue, 5 Mar 2019 18:08:35 +0100 Subject: [PATCH] Fix uninitialized variable used. --- Firmware/ultralcd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 7c122c0f..9b25d0b4 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -6802,8 +6802,7 @@ bool lcd_selftest() _result = lcd_selftest_manual_fan_check(1, false); if (!_result) { - const char *_err; - lcd_selftest_error(6, _err, _err); //print fan not spinning + lcd_selftest_error(6, 0, 0); //print fan not spinning } #endif //defined(TACH_1)