GNOME Bugzilla – Bug 735623
Expression is always false because 'else if' condition matches previous condition
Last modified: 2014-12-25 16:02:42 UTC
Please take a look at following code from translator_ua.h (function: trCompoundReferenceFortran, line 1585: if (isTemplate) // (1) { switch(compType) { case ClassDef::Class: result+=" Модуль"; break; case ClassDef::Struct: result+=" Тип"; break; case ClassDef::Union: result+=" Об'єднання"; break; case ClassDef::Interface: result+=" Інтерфейс"; break; case ClassDef::Protocol: result+=" Протокол"; break; case ClassDef::Category: result+=" Категорія"; break; case ClassDef::Exception: result+=" Виняток"; break; default: break; } } else { if (isTemplate) result+=" Шаблон "; // (2) .... In the first condition (1), the if statement checks if 'isTemplate' is set. Otherwise the else branch is taken. In the else branch it is checked again, if 'isTemplate' is set (2). This condition is always false and can be removed, or there is some copy and paste error. Best regards and many thanks Martin Ettl
Confirmed. Should be fixed in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.9. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferrably in the form of a self-contained example).