Remove redundant return of wxEmptyString
This commit is contained in:
@@ -242,7 +242,7 @@ wxString wxFileSystemHandler::GetAnchor(const wxString& location)
|
|||||||
if (c == wxT('#'))
|
if (c == wxT('#'))
|
||||||
return location.Right(l-i-1);
|
return location.Right(l-i-1);
|
||||||
else if ((c == wxT('/')) || (c == wxT('\\')) || (c == wxT(':')))
|
else if ((c == wxT('/')) || (c == wxT('\\')) || (c == wxT(':')))
|
||||||
return wxEmptyString;
|
break;
|
||||||
}
|
}
|
||||||
return wxEmptyString;
|
return wxEmptyString;
|
||||||
}
|
}
|
||||||
|
@@ -269,7 +269,7 @@ wxString wxGetStockHelpString(wxWindowID id, wxStockHelpStringClient client)
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
// there's no stock help string for this ID / client
|
// there's no stock help string for this ID / client
|
||||||
return wxEmptyString;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef STOCKITEM
|
#undef STOCKITEM
|
||||||
|
Reference in New Issue
Block a user