emailservices/emailstore/message_store/server/src/ContainerStoreAccountTable.cpp
changeset 76 38bf5461e270
parent 68 83cc6bae1de8
--- a/emailservices/emailstore/message_store/server/src/ContainerStoreAccountTable.cpp	Thu Sep 30 11:43:07 2010 +0300
+++ b/emailservices/emailstore/message_store/server/src/ContainerStoreAccountTable.cpp	Thu Oct 14 17:33:43 2010 +0300
@@ -208,6 +208,8 @@
 	
 	TContainerId mbId = KMsgStoreInvalidId;
 	
+	//this is checked right below using AtEnd()
+    //coverity[check_return]
 	iTable.FirstL();
 	
 	while( !iTable.AtEnd() )
@@ -225,6 +227,8 @@
 				}
 			}
 		
+		//this is checked right using AtEnd() in loop condition
+        //coverity[check_return]
 		iTable.NextL();
 		}
 	
@@ -300,6 +304,8 @@
 	CAccountsSerializer* serializer = new (ELeave) CAccountsSerializer();
 	CleanupStack::PushL( serializer );
 
+	//this is checked right below using AtEnd()
+	//coverity[check_return]
 	iTable.FirstL();
 	
 	while( !iTable.AtEnd() )
@@ -319,6 +325,8 @@
 		
 		serializer->AddAccountL( ownerId, name16 );
 		
+		//this is checked using AtEnd() in the loop condition
+        //coverity[check_return]
 		iTable.NextL();
 		}