Remove unnecessary condition (#5210)

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2023-11-29 12:52:45 -08:00 committed by GitHub
parent 79022a36ec
commit c6fecca8e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,7 +219,7 @@ std::string Url::GetUrlWithoutQuery(bool relative) const
{
if (!relative)
{
if (m_encodedPath.empty() || m_encodedPath[0] != '/')
if (m_encodedPath[0] != '/')
{
url += "/";
}