From b62afb791451322065bba6ab896ae4dd94b42990 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 26 Nov 2012 13:14:15 +0000 Subject: [PATCH] Fix harmless warning about uninitialized variable in fswatcher sample. Just always initialize it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/fswatcher/fswatcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/fswatcher/fswatcher.cpp b/samples/fswatcher/fswatcher.cpp index 37f7c31c0d..890fd45ff5 100644 --- a/samples/fswatcher/fswatcher.cpp +++ b/samples/fswatcher/fswatcher.cpp @@ -420,7 +420,7 @@ void MyFrame::OnRemove(wxCommandEvent& WXUNUSED(event)) if (idx == -1) return; - bool ret; + bool ret = false; wxString path = m_filesList->GetItemText(idx).Mid(6); // This will tell wxFileSystemWatcher whether to dereference symlinks -- 2.45.2