Permalink
Browse files

Bug 736033 - [PATCH] Cleanup redundant if/else branch in src/translat…

…or_tw.h
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Sep 9, 2014
1 parent 8e47b4b commit 02b35985cda1a537c45071f1245b2c4a6dc4ffc6
Showing with 2 additions and 3 deletions.
  1. +2 −3 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;
}

0 comments on commit 02b3598

Please sign in to comment.