Skip to content

Commit

Permalink
Bug 736033 - [PATCH] Cleanup redundant if/else branch in src/translat…
Browse files Browse the repository at this point in the history
…or_tw.h
  • Loading branch information
Dimitri van Heesch committed Sep 9, 2014
1 parent 8e47b4b commit 02b3598
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/translator_tw.h
Expand Up @@ -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)"";
Expand All @@ -766,7 +765,7 @@ class TranslatorChinesetraditional : public Translator
default: break;
}
result+=" 文件是由下列檔案中產生";
if (single) result+=":"; else result+=":";
result+=":";
return result;
}

Expand Down

0 comments on commit 02b3598

Please sign in to comment.