summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-04 21:14:48 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-06 22:42:56 +0200
commit7a83696a76e576ce230988b092b1152ac18f42b7 (patch)
tree7365bda4f233bb0a8fc12fdad711d259c22b8905
parent3979fb5b59d79d3f48cf0656e58ec848cff5a723 (diff)
[cppchecker] superfluous variable deleted
-rw-r--r--autodoc/source/ary/cpp/ca_ce.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/autodoc/source/ary/cpp/ca_ce.cxx b/autodoc/source/ary/cpp/ca_ce.cxx
index ea49b1446c49..b2ceb27dc41a 100644
--- a/autodoc/source/ary/cpp/ca_ce.cxx
+++ b/autodoc/source/ary/cpp/ca_ce.cxx
@@ -450,9 +450,7 @@ CeAdmin::Get_SignatureText( StreamStr & o_rOut,
? i_sParameterNames->end()
: aDummy.end();
- bool
- bEmpty = (it == it_end);
- if (NOT bEmpty)
+ if (NOT (it == it_end) )
{
o_rOut << "( ";
Types().Get_TypeText(o_rOut, *it);