From 02b35985cda1a537c45071f1245b2c4a6dc4ffc6 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Tue, 9 Sep 2014 22:42:35 +0200 Subject: [PATCH] Bug 736033 - [PATCH] Cleanup redundant if/else branch in src/translator_tw.h --- src/translator_tw.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/translator_tw.h b/src/translator_tw.h index 581d7fee3c4..e8c11234832 100644 --- a/src/translator_tw.h +++ b/src/translator_tw.h @@ -749,8 +749,7 @@ class TranslatorChinesetraditional : public Translator /*! This is put at the bottom of a class documentation page and is * followed by a list of files that were used to generate the page. */ - virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, - bool single) + virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,bool) { // here s is one of " Class", " Struct" or " Union" // single is true implies a single file QCString result=(QCString)"此"; @@ -766,7 +765,7 @@ class TranslatorChinesetraditional : public Translator default: break; } result+=" 文件是由下列檔案中產生"; - if (single) result+=":"; else result+=":"; + result+=":"; return result; }