master
Daniel Kolesa 2016-08-12 04:13:52 +01:00
parent ad08f62619
commit cdb7311dd6
1 changed files with 4 additions and 4 deletions

View File

@ -397,19 +397,19 @@ struct ObState: CsState {
}
}
if ((!ret && (act || ob_check_exec(tname, subdeps))) && func) {
StackedValue targetv(*this), sourcev(*this), sourcesv(*this);
StackedValue targetv, sourcev, sourcesv;
if (!targetv.set_id("target")) {
if (!targetv.set_id(new_ident("target"))) {
return 1;
}
targetv.set_cstr(tname);
targetv.push();
if (!subdeps.empty()) {
if (!sourcev.set_id("source")) {
if (!sourcev.set_id(new_ident("source"))) {
return 1;
}
if (!sourcesv.set_id("sources")) {
if (!sourcesv.set_id(new_ident("sources"))) {
return 1;
}