summaryrefslogtreecommitdiff
path: root/autodoc
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-04 21:35:25 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-06 22:43:14 +0200
commit899e9848cfa7c3a6f649f362acee53a4057768be (patch)
tree86f7b3659a94509951c009ba0ab988d9eabfc5f7 /autodoc
parent7a83696a76e576ce230988b092b1152ac18f42b7 (diff)
[cppchecker] suppress unread Variable warnings
Diffstat (limited to 'autodoc')
-rw-r--r--autodoc/source/display/idl/hfi_typetext.cxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/autodoc/source/display/idl/hfi_typetext.cxx b/autodoc/source/display/idl/hfi_typetext.cxx
index 574de30374d2..43ae07ba8651 100644
--- a/autodoc/source/display/idl/hfi_typetext.cxx
+++ b/autodoc/source/display/idl/hfi_typetext.cxx
@@ -179,12 +179,8 @@ HF_IdlTypeText::Produce_byData( const String & i_sFullName ) const
}
csv::erase_container(aModule_);
- bool bFound = // KORR : Check the semantics of this, see if ce really exists, if it is a member?
- Env().Data().Search_Ce( aModule_,
- sCe,sMember,
- sTypeText,
- *pScopeModule );
- if (NOT bFound)
+
+ if (NOT ( Env().Data().Search_Ce(aModule_, sCe,sMember, sTypeText, *pScopeModule) ) )
{
if ( strchr(sTypeText,':') == 0
AND
@@ -223,12 +219,7 @@ HF_IdlTypeText::Produce_LinkInDocu( const String & i_scope,
return;
}
- bool
- bFound = Env().Data().Search_CesModule( aModule_,
- i_scope,
- i_name,
- *pScopeModule );
- if (NOT bFound)
+ if (NOT ( Env().Data().Search_CesModule( aModule_, i_scope, i_name, *pScopeModule) ) )
{
CurOut() << i_scope << "::" << i_name;
if (NOT i_member.empty())