trivial tweak

This commit is contained in:
David Rose 2001-10-02 22:38:44 +00:00
parent 76524dcafa
commit 238ad16150
1 changed files with 3 additions and 2 deletions

View File

@ -73,7 +73,7 @@ write_prototypes(ostream &out) {
Writers::iterator wi;
for (wi = _writers.begin(); wi != _writers.end(); ++wi) {
FunctionWriter *writer = (*wi);
(*wi)->write_prototype(out);
writer->write_prototype(out);
}
}
@ -86,6 +86,7 @@ void FunctionWriters::
write_code(ostream &out) {
Writers::iterator wi;
for (wi = _writers.begin(); wi != _writers.end(); ++wi) {
(*wi)->write_code(out);
FunctionWriter *writer = (*wi);
writer->write_code(out);
}
}