master
Daniel Kolesa 2015-11-05 18:43:58 +00:00
parent ed8b0a428e
commit d1bb66976e
1 changed files with 14 additions and 16 deletions

View File

@ -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;
}
}