From c24f3391a3bec2cb0df6b8dd0015353ea205f92c Mon Sep 17 00:00:00 2001 From: Gregor Maier Date: Tue, 10 May 2011 12:31:53 -0700 Subject: [PATCH] Fix compiler warning with gcc-4.4.4 --- src/Type.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Type.cc b/src/Type.cc index 458a672d41..3ac5671619 100644 --- a/src/Type.cc +++ b/src/Type.cc @@ -1157,6 +1157,7 @@ void RecordType::DescribeFieldsReST(ODesc* d, bool func_args) const for ( int i = 0; i < num_fields; ++i ) { if ( i > 0 ) + { if ( func_args ) d->Add(", "); else @@ -1164,6 +1165,7 @@ void RecordType::DescribeFieldsReST(ODesc* d, bool func_args) const d->NL(); d->NL(); } + } FieldDecl(i)->DescribeReST(d); }