Skip to content

Commit

Permalink
Do uncrustify check
Browse files Browse the repository at this point in the history
  • Loading branch information
mishabunte committed Oct 18, 2024
1 parent 7b63576 commit d83c2f4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions cli/cmdlineparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ namespace {
}

void reportProgress(const std::string & /*filename*/, const char /*stage*/[], const std::size_t /*value*/) override
{}
{
}
};
}

Expand Down Expand Up @@ -321,11 +322,11 @@ bool CmdLineParser::loadMacroFile(const std::string &path) {
while (std::getline(file, line)) {
size_t pos = line.find("#define");
if (pos != std::string::npos) {

// extract name and value
std::istringstream iss(line.substr(pos + 8));
std::istringstream iss(line.substr(pos + 8));
std::string name, value;
iss >> name >> value;
iss >> name >> value;

std::string rest;
std::getline(iss, rest);
Expand All @@ -338,7 +339,7 @@ bool CmdLineParser::loadMacroFile(const std::string &path) {

mSettings.userDefines += result.str();

return true;
return true;
}

// TODO: normalize/simplify/native all path parameters
Expand Down

0 comments on commit d83c2f4

Please sign in to comment.