When generating the Attribute dumper code, do not dead-initialize MoreChildren

No functional change. This will cleanup a bunch of scan-build warnings.

llvm-svn: 204529
This commit is contained in:
Arnaud A. de Grandmaison 2014-03-21 22:35:34 +00:00
parent 78619f7171
commit c6b4045d65
1 changed files with 1 additions and 1 deletions

View File

@ -2522,7 +2522,7 @@ void EmitClangAttrDump(RecordKeeper &Records, raw_ostream &OS) {
// Code for detecting the last child.
OS << " bool OldMoreChildren = hasMoreChildren();\n";
OS << " bool MoreChildren = OldMoreChildren;\n";
OS << " bool MoreChildren;\n";
for (auto AI = Args.begin(), AE = Args.end(); AI != AE; ++AI) {
// More code for detecting the last child.