Remove redundant return of wxEmptyString

This commit is contained in:
Paul Cornett
2017-02-18 11:16:38 -08:00
parent 99858d4628
commit 32535f5bf6
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
} }

View File

@@ -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