From b3f75eb850766c153d84f222ba3e857f35633fe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= <guenter.obiltschnig@appinf.com> Date: Tue, 4 Feb 2020 10:56:58 +0100 Subject: [PATCH] #2902: [FTPClient] Optimize expression --- Net/src/FTPClientSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Net/src/FTPClientSession.cpp b/Net/src/FTPClientSession.cpp index edc3c4daa..d77fb39b4 100644 --- a/Net/src/FTPClientSession.cpp +++ b/Net/src/FTPClientSession.cpp @@ -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++; }