From aconole at bytheb.org Tue Sep 11 20:51:45 2018 From: aconole at bytheb.org (Aaron Conole) Date: Tue, 11 Sep 2018 16:51:45 -0400 Subject: [esnacc-dev] [PATCH] cxx-gen: omit extraneous brace Message-ID: <20180911205145.20826-1-aconole@bytheb.org> Left over from the XML Print refactoring. Signed-off-by: Aaron Conole --- compiler/back-ends/c++-gen/gen-code.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/back-ends/c++-gen/gen-code.c b/compiler/back-ends/c++-gen/gen-code.c index 395b424..c4469a7 100644 --- a/compiler/back-ends/c++-gen/gen-code.c +++ b/compiler/back-ends/c++-gen/gen-code.c @@ -3743,7 +3743,7 @@ PrintCxxSetDefCode (FILE *src, FILE *hdr, ModuleList *mods, Module *m, td->cxxTypeDefInfo->className); fprintf(src, "{\n"); fprintf(src, " const char *tagName = typeName();\n"); - fprintf(src, " if (lpszTitle) {\n"); + fprintf(src, " if (lpszTitle)\n"); fprintf(src, " tagName = lpszTitle;\n"); fprintf(src, " os << \"<\" << tagName << \">\";\n"); FOR_EACH_LIST_ELMT (e, set->basicType->a.set) { -- 2.14.3