minor cleanup

master
Daniel Kolesa 2015-12-28 16:17:20 +01:00
parent 31e19a5ba4
commit 167d216226
1 changed files with 4 additions and 3 deletions

View File

@ -344,16 +344,17 @@ struct ObState: CsState {
}
if ((!ret && (act || ob_check_exec(tname, subdeps))) && func) {
StackedValue targetv, sourcev, sourcesv;
CsState &cs = *this;
if (!targetv.alias(*this, "target"))
if (!targetv.alias(cs, "target"))
return 1;
targetv.set_cstr(tname);
targetv.push();
if (!subdeps.empty()) {
if (!sourcev.alias(*this, "source"))
if (!sourcev.alias(cs, "source"))
return 1;
if (!sourcesv.alias(*this, "sources"))
if (!sourcesv.alias(cs, "sources"))
return 1;
sourcev.set_cstr(subdeps[0]);