From 0ab56359a179abc120ecefebdfc72d65f5839a25 Mon Sep 17 00:00:00 2001 From: Fabien Proriol Date: Sun, 24 Nov 2019 08:50:01 +0100 Subject: [PATCH] Remove GCC warning by inititialize local variable --- src/knx/knx_value.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/knx/knx_value.cpp b/src/knx/knx_value.cpp index 7b6f93a..22d3e85 100644 --- a/src/knx/knx_value.cpp +++ b/src/knx/knx_value.cpp @@ -526,7 +526,7 @@ struct tm KNXValue::timeValue() const return *timePtr; } } - struct tm tmp; + struct tm tmp = {0}; return tmp; }