diff -r 1790c2f1027c -r 0b68a1b0c15e serviceproviders/sapi_contacts_vpbk/tsrc/testing/tcontact_add/src/tcontact_addblocks.cpp --- a/serviceproviders/sapi_contacts_vpbk/tsrc/testing/tcontact_add/src/tcontact_addblocks.cpp Thu Aug 19 10:46:25 2010 +0300 +++ b/serviceproviders/sapi_contacts_vpbk/tsrc/testing/tcontact_add/src/tcontact_addblocks.cpp Tue Aug 31 16:06:03 2010 +0300 @@ -158,7 +158,7 @@ TPtrC value(KNullDesC); //CContactCallback* callbk=new(ELeave) CContactCallback; TPtr8 cntIdPtrVal(acntId->Des()); - CContactIter* iterVal = NULL; + CContactIter* iterVal; TRAPD(err, iterVal = cntservice->GetListL(EContacts,cntIdPtrVal)); if(err != KErrNone) { @@ -967,7 +967,7 @@ aItem.GetNextInt(count) ; /*Add group1 to phonebook */ - TInt err1 = 0; + TInt err1; TRAPD(err,icontactservice->AddL(icallback,0,singleContact,KNullDesC8,KGroup)); if(err || err1) { @@ -1361,7 +1361,7 @@ icontactservice=CContactService::NewL(); /* Add the contactitem */ - HBufC8* cntId = NULL; + HBufC8* cntId; TRAPD(error,cntId= icontactservice->AddL(singleContact)); @@ -1441,7 +1441,7 @@ // Print to log file iLog->Log( KExample ); - HBufC8* grpId = NULL; + HBufC8* grpId; TInt count; /* Group1 to add to phonebook */