Skip to content

Commit

Permalink
cmdlineparser.cpp: removed unnecessary Path::fromNativeSeparators()
Browse files Browse the repository at this point in the history
… call

this is also done in `Path::simplifyPath()`
  • Loading branch information
firewave committed Oct 7, 2024
1 parent 62a92a6 commit 2edee48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cli/cmdlineparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,6 @@ CmdLineParser::Result CmdLineParser::parseFromArgs(int argc, const char* const a

if (!path.empty()) {
path = Path::removeQuotationMarks(std::move(path));
path = Path::fromNativeSeparators(std::move(path));
path = Path::simplifyPath(std::move(path));

// TODO: this only works when it exists
Expand Down

0 comments on commit 2edee48

Please sign in to comment.