summaryrefslogtreecommitdiff
path: root/autodoc/source
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-10 14:35:57 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-26 22:02:38 +0200
commit35579b7f6e9cb761dea98bf33beb4f43d0b51dac (patch)
tree385abfd1964dc21645f981adcb4a02e9bc7b3925 /autodoc/source
parent3136120275834b17f9ff628273cee169d171566e (diff)
cppcheck: deleted unread Var in autodoc, hdimpl.cxx
Diffstat (limited to 'autodoc/source')
-rw-r--r--autodoc/source/display/html/hdimpl.cxx11
1 files changed, 5 insertions, 6 deletions
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 )