#2902: [FTPClient] Optimize expression

This commit is contained in:
Günter Obiltschnig 2020-02-04 10:56:58 +01:00
parent c4bdadffb3
commit b3f75eb850

View File

@ -429,7 +429,7 @@ std::string FTPClientSession::extractPath(const std::string& response)
if (*it == '"')
{
++it;
if (it == end || (it != end && *it != '"')) break;
if (it == end || *it != '"') break;
}
path += *it++;
}