Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Common/CommandLineParser.cpp')
-rwxr-xr-xCommon/CommandLineParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Common/CommandLineParser.cpp b/Common/CommandLineParser.cpp
index 69c41841..67f72675 100755
--- a/Common/CommandLineParser.cpp
+++ b/Common/CommandLineParser.cpp
@@ -33,7 +33,7 @@ void SplitCommandLine(const UString &s, UStringVector &parts)
UString sTemp = s;
sTemp.Trim();
parts.Clear();
- while (true)
+ for (;;)
{
UString s1, s2;
SplitCommandLine(sTemp, s1, s2);
@@ -42,7 +42,7 @@ void SplitCommandLine(const UString &s, UStringVector &parts)
if (!s1.IsEmpty())
parts.Add(s1);
if (s2.IsEmpty())
- return;
+ break;
sTemp = s2;
}
}