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:
@@ -33,14 +33,17 @@
|
|||||||
|
|
||||||
wxString wxStockPreferencesPage::GetName() const
|
wxString wxStockPreferencesPage::GetName() const
|
||||||
{
|
{
|
||||||
|
wxString name;
|
||||||
switch ( m_kind )
|
switch ( m_kind )
|
||||||
{
|
{
|
||||||
case Kind_General:
|
case Kind_General:
|
||||||
return _("General");
|
name = _("General");
|
||||||
|
break;
|
||||||
case Kind_Advanced:
|
case Kind_Advanced:
|
||||||
return _("Advanced");
|
name = _("Advanced");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return wxString(); // silence compiler warning
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxPreferencesEditor::wxPreferencesEditor(const wxString& title)
|
wxPreferencesEditor::wxPreferencesEditor(const wxString& title)
|
||||||
|
@@ -1470,11 +1470,8 @@ bool wxGStreamerMediaBackend::SetPosition(wxLongLong where)
|
|||||||
|
|
||||||
# endif // GST_VERSION_MAJOR > 0 || GST_VERSION_MINOR >= 10
|
# endif // GST_VERSION_MAJOR > 0 || GST_VERSION_MINOR >= 10
|
||||||
|
|
||||||
{
|
|
||||||
m_llPausedPos = where;
|
m_llPausedPos = where;
|
||||||
return true;
|
return true;
|
||||||
}
|
|
||||||
return true;
|
|
||||||
#endif //== 0.8.0
|
#endif //== 0.8.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user