]> repos.lx-s.de Git - winmute.git/commitdiff
Fixed analyzer warnings
authorlx-s <lx-s@users.noreply.github.com>
Mon, 18 Apr 2022 08:57:26 +0000 (10:57 +0200)
committerlx-s <lx-s@users.noreply.github.com>
Mon, 18 Apr 2022 08:57:26 +0000 (10:57 +0200)
WinMute/TrayIcon.cpp
WinMute/WinMute.cpp

index d6f5cb054246f258c6c186a80cd200e6e86d5845..2dfaff659b4ee8330aa333b2044e97cc5d59b3c7 100644 (file)
@@ -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)
 {
 }
 
index 5a400a680b0c33e25d81b342ca2690ef9268b0d1..5a4728a6a2e20766dac76724ee4dd6a5a8b043c1 100644 (file)
@@ -136,7 +136,7 @@ static bool IsCurrentSessionRemoteable()
 }
 
 WinMute::MuteConfig::MuteConfig()
-   : showNotifications(false)
+   : muteOnWlan(false), showNotifications(false)
 {
    this->quietHours.enabled = false;
    this->quietHours.forceUnmute = false;