serviceproviders/sapi_contacts_vpbk/tsrc/testing/tcontact_export/src/tcontact_exportblocks.cpp
--- a/serviceproviders/sapi_contacts_vpbk/tsrc/testing/tcontact_export/src/tcontact_exportblocks.cpp Tue Apr 27 17:33:05 2010 +0300
+++ b/serviceproviders/sapi_contacts_vpbk/tsrc/testing/tcontact_export/src/tcontact_exportblocks.cpp Tue May 11 17:01:36 2010 +0300
@@ -197,7 +197,8 @@
TInt flag=0,cnt=0;
/*call getlist to get the contactid for export */ \
- TInt err1, err2;
+ TInt err1 = 0;
+ TInt err2 = 0;
TRAP(err1,icontactservice->GetListL(icallback,1,EContacts,KNullDesC8));
CActiveScheduler::Start();
@@ -212,10 +213,11 @@
/* verify whther export returns the expected error */
aItem.GetNextInt(flag) ;
if(icallback->iError)
- return KErrNone;
+ return KErrNone;
if(icallback->iError == flag)
- return KErrNone;
+ return KErrNone;
+ return 0;
}
/* exporting 2 contacts */