avoid warning about unreachable code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8b3e3e594b
commit
e003c663fd
@ -33,14 +33,17 @@
|
||||
|
||||
wxString wxStockPreferencesPage::GetName() const
|
||||
{
|
||||
wxString name;
|
||||
switch ( m_kind )
|
||||
{
|
||||
case Kind_General:
|
||||
return _("General");
|
||||
name = _("General");
|
||||
break;
|
||||
case Kind_Advanced:
|
||||
return _("Advanced");
|
||||
name = _("Advanced");
|
||||
break;
|
||||
}
|
||||
return wxString(); // silence compiler warning
|
||||
return name;
|
||||
}
|
||||
|
||||
wxPreferencesEditor::wxPreferencesEditor(const wxString& title)
|
||||
|
@ -1470,10 +1470,7 @@ bool wxGStreamerMediaBackend::SetPosition(wxLongLong where)
|
||||
|
||||
# endif // GST_VERSION_MAJOR > 0 || GST_VERSION_MINOR >= 10
|
||||
|
||||
{
|
||||
m_llPausedPos = where;
|
||||
return true;
|
||||
}
|
||||
m_llPausedPos = where;
|
||||
return true;
|
||||
#endif //== 0.8.0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user