From 9f936615e80ec702af7d70c31b832ee1ed41e005 Mon Sep 17 00:00:00 2001 From: fliiiix Date: Tue, 9 Jun 2026 15:33:29 +0200 Subject: Fix cppcheck warning has no initializer cppcheck 2.21.0 --- src/service.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/service.cpp b/src/service.cpp index ced370c..251df5b 100644 --- a/src/service.cpp +++ b/src/service.cpp @@ -50,9 +50,9 @@ extern "C" typedef struct { - guint nTempLow; - guint nTempHigh; - const gchar *sName; + guint nTempLow{}; + guint nTempHigh{}; + const gchar *sName = nullptr; } TempProfile; TempProfile m_lTempProfiles[] = -- cgit v1.2.3