Menu

#134 MifFOTBuilder.cxx(MifDoc::Marker::Marker) contains dead code

open
nobody
5
2009-04-28
2009-04-28
No

As reported in https://bugzilla.novell.com/show_bug.cgi?id=497584 MifDoc::Marker::Marker does

switch( crossRefInfo.type() ) {

and at the end of the switch has

case HypertextDestination:
setMText( T_string( "newlink " ) );
MText += crossRefInfo.crossRefText();
break;

Which will never be executed as type returns enum InfoType and HypertextDestination is enum Marker::Type.

Discussion


Log in to post a comment.