Skip to content

Commit

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

this is also done in `Path::simplifyPath()`
  • Loading branch information
firewave authored and Ludvig Gunne Lindström committed Oct 19, 2024
1 parent 4cc43c6 commit 2edff2f
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 2edff2f

Please sign in to comment.