--- a/phoneuis/BubbleManager/Src/BMBubbleOutlookFiveLined.cpp Tue Feb 02 00:10:04 2010 +0200
+++ b/phoneuis/BubbleManager/Src/BMBubbleOutlookFiveLined.cpp Fri Feb 19 22:50:26 2010 +0200
@@ -166,7 +166,7 @@
TInt CBubbleOutlookFiveLined::CountComponentControls() const
{
TInt amount = 0;
-
+
if ( iNumberType )
{
amount++;
@@ -238,9 +238,8 @@
//
CCoeControl* CBubbleOutlookFiveLined::ComponentControl(TInt aIndex) const
{
-
TInt amount = -1;
-
+ // coverity[var_compare_op]
if ( iNumberType )
{
amount++;
@@ -248,6 +247,7 @@
if ( aIndex == amount )
{
+ // coverity[var_deref_model]
return iNumberType->Control();
}
@@ -328,6 +328,7 @@
if ( aIndex == amount )
{
+ // coverity[var_deref_model]
return iSmallCallIndication->Control();
}
@@ -358,6 +359,7 @@
if ( aIndex == amount )
{
+ // coverity[var_deref_model]
return iBigCallIndicator->Control();
}