From 7a18ada28a5349fe7b01b88cf1ef8e03c56ee39c Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Tue, 9 Oct 2018 23:24:57 +0000 Subject: More warnings addressed --- windirstat/Dialogs/SelectDrivesDlg.h | 2 +- windirstat/item.cpp | 1 + windirstat/mainframe.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/windirstat/Dialogs/SelectDrivesDlg.h b/windirstat/Dialogs/SelectDrivesDlg.h index b9fd84d..80c1b20 100644 --- a/windirstat/Dialogs/SelectDrivesDlg.h +++ b/windirstat/Dialogs/SelectDrivesDlg.h @@ -176,7 +176,7 @@ protected: DECLARE_MESSAGE_MAP() afx_msg void OnBnClickedBrowsefolder(); - afx_msg void OnLbnSelchangeDrives(); + // afx_msg void OnLbnSelchangeDrives(); afx_msg void OnBnClickedAlllocaldrives(); afx_msg void OnBnClickedAfolder(); afx_msg void OnBnClickedSomedrives(); diff --git a/windirstat/item.cpp b/windirstat/item.cpp index 469bc1d..20b3582 100644 --- a/windirstat/item.cpp +++ b/windirstat/item.cpp @@ -53,6 +53,7 @@ CItem::CItem(ITEMTYPE type, LPCTSTR name, bool dontFollow) , m_size(0) , m_files(0) , m_subdirs(0) + , m_readJobDone(false) , m_done(false) , m_ticksWorked(0) , m_readJobs(0) diff --git a/windirstat/mainframe.cpp b/windirstat/mainframe.cpp index bbf8a2e..ac44fd9 100644 --- a/windirstat/mainframe.cpp +++ b/windirstat/mainframe.cpp @@ -441,6 +441,7 @@ CMainFrame::CMainFrame() , m_wndSubSplitter(_T("sub")) , m_progressVisible(false) , m_progressRange(100) + , m_progressPos(0) , m_logicalFocus(LF_NONE) #ifdef SUPPORT_W7_TASKBAR , m_TaskbarButtonState(TBPF_INDETERMINATE) -- cgit v1.2.3