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:
@@ -420,7 +420,7 @@ void MyFrame::OnRemove(wxCommandEvent& WXUNUSED(event))
|
|||||||
if (idx == -1)
|
if (idx == -1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
bool ret;
|
bool ret = false;
|
||||||
wxString path = m_filesList->GetItemText(idx).Mid(6);
|
wxString path = m_filesList->GetItemText(idx).Mid(6);
|
||||||
|
|
||||||
// This will tell wxFileSystemWatcher whether to dereference symlinks
|
// This will tell wxFileSystemWatcher whether to dereference symlinks
|
||||||
|
Reference in New Issue
Block a user