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
This commit is contained in:
Vadim Zeitlin
2012-11-26 13:14:15 +00:00
parent 754afd1061
commit b62afb7914

View File

@@ -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