From: lx-s Date: Mon, 18 Apr 2022 08:57:26 +0000 (+0200) Subject: Fixed analyzer warnings X-Git-Tag: 2.0.0.0~7 X-Git-Url: https://repos.lx-s.de/gitweb/?a=commitdiff_plain;h=109c5376d05c3abae89f56886ac640abfb07befe;p=winmute.git Fixed analyzer warnings --- diff --git a/WinMute/TrayIcon.cpp b/WinMute/TrayIcon.cpp index d6f5cb0..2dfaff6 100644 --- a/WinMute/TrayIcon.cpp +++ b/WinMute/TrayIcon.cpp @@ -34,7 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "common.h" TrayIcon::TrayIcon() : - iconVisible_(false), trayID_(0), hIcon_(0), hWnd_(0) + initialized_(false), iconVisible_(false), trayID_(0), hIcon_(0), hWnd_(0) { } diff --git a/WinMute/WinMute.cpp b/WinMute/WinMute.cpp index 5a400a6..5a4728a 100644 --- a/WinMute/WinMute.cpp +++ b/WinMute/WinMute.cpp @@ -136,7 +136,7 @@ static bool IsCurrentSessionRemoteable() } WinMute::MuteConfig::MuteConfig() - : showNotifications(false) + : muteOnWlan(false), showNotifications(false) { this->quietHours.enabled = false; this->quietHours.forceUnmute = false;