forked from OctaForge/OctaBuild
format
parent
ed8b0a428e
commit
d1bb66976e
4
main.cc
4
main.cc
|
@ -178,8 +178,7 @@ struct ObState {
|
|||
int exec_list(const Vector<SubRule> &rlist, Vector<String> &subdeps,
|
||||
ConstCharRange tname) {
|
||||
String repd;
|
||||
for (auto &sr: rlist.iter())
|
||||
for (auto &target: sr.rule->deps.iter()) {
|
||||
for (auto &sr: rlist.iter()) for (auto &target: sr.rule->deps.iter()) {
|
||||
ConstCharRange atgt = target.iter();
|
||||
repd.clear();
|
||||
auto lp = ostd::find(atgt, '%');
|
||||
|
@ -399,7 +398,6 @@ int main(int argc, char **argv) {
|
|||
break;
|
||||
default:
|
||||
return ob_print_help(argv[0], ostd::err, 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue