Skip to content

Commit

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

this is also done in `Path::simplifyPath()`
  • Loading branch information
firewave authored Oct 7, 2024
1 parent 3fda2b0 commit c9ef0ee
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 c9ef0ee

Please sign in to comment.