Merge pull request #209 from unknownbrackets/warnings

Fix a bunch of warnings
This commit is contained in:
Hykem 2014-04-28 17:15:12 +01:00
commit 90896560bb
30 changed files with 72 additions and 81 deletions

View file

@ -96,9 +96,9 @@ void VFSEntrySettingsDialog::OnSelectDevPath(wxCommandEvent& event)
void VFSEntrySettingsDialog::OnOk(wxCommandEvent& event)
{
m_entry.device_path = strdup( m_tctrl_dev_path->GetValue().c_str());
m_entry.path = strdup(m_tctrl_path->GetValue().c_str());
m_entry.mount = strdup(m_tctrl_mount->GetValue().c_str());
m_entry.device_path = m_tctrl_dev_path->GetValue().ToStdString();
m_entry.path = m_tctrl_path->GetValue().ToStdString();
m_entry.mount = m_tctrl_mount->GetValue().ToStdString();
m_entry.device = (vfsDeviceType)m_ch_type->GetSelection();
EndModal(wxID_OK);