From 35579b7f6e9cb761dea98bf33beb4f43d0b51dac Mon Sep 17 00:00:00 2001 From: Pierre-André Jacquod Date: Sat, 10 Sep 2011 14:35:57 +0200 Subject: cppcheck: deleted unread Var in autodoc, hdimpl.cxx --- autodoc/source/display/html/hdimpl.cxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'autodoc') diff --git a/autodoc/source/display/html/hdimpl.cxx b/autodoc/source/display/html/hdimpl.cxx index f9d2b0f1636a..c3d5bd84afbd 100644 --- a/autodoc/source/display/html/hdimpl.cxx +++ b/autodoc/source/display/html/hdimpl.cxx @@ -226,12 +226,11 @@ Get_LinkedTypeText( csi::xml::Element & o_rOut, const char * sName = ""; const char * sPostName = ""; - bool bTypeExists = Get_TypeText( sPreName, - sName, - sPostName, - i_nId, - i_rEnv.Gate() ); - if ( NOT bTypeExists ) + if ( NOT Get_TypeText( sPreName, + sName, + sPostName, + i_nId, + i_rEnv.Gate() ) ) return; if ( NOT i_bWithAbsolutifier AND strncmp(sPreName,"::",2) == 0 ) -- cgit