# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1273586499 -10800 # Node ID 02db64fb17120b8f1be98d121454a735b6d3c01d # Parent 8fe836ab12d44c3c313f0dfff97812ffb0c8058c Revision: 201016 Kit: 201019 diff -r 8fe836ab12d4 -r 02db64fb1712 serviceapifw_plat/liw_criteria_api/tsrc/src/liwtestcasesblocks.cpp --- a/serviceapifw_plat/liw_criteria_api/tsrc/src/liwtestcasesblocks.cpp Wed Mar 31 23:02:14 2010 +0300 +++ b/serviceapifw_plat/liw_criteria_api/tsrc/src/liwtestcasesblocks.cpp Tue May 11 17:01:39 2010 +0300 @@ -3049,7 +3049,7 @@ interest.AppendL(criteria); - TInt status; + TInt status = 0; // Attach the MyServiceName provider to the LIW framework. TRAPD(status1,status = iServiceHandler->AttachL(interest)); @@ -3119,7 +3119,7 @@ criteria->SetServiceClass(TUid::Uid(KLiwClassBase)); interest.AppendL(criteria); - TInt status ; + TInt status = 0; // Attach the MyServiceName provider to the LIW framework. TRAPD(status1,status = iServiceHandler->AttachL(interest)); @@ -3183,7 +3183,7 @@ criteria->SetServiceClass(TUid::Uid(KLiwClassBase)); interest.AppendL(criteria); - TInt status ; + TInt status = 0; // Attach the MyServiceName provider to the LIW framework. TRAPD(status1,status = iServiceHandler->AttachL(interest)); diff -r 8fe836ab12d4 -r 02db64fb1712 serviceapifw_plat/rtsecuritymanager_client_api/tsrc/src/ui_tsecuritymanagerblocks.cpp --- a/serviceapifw_plat/rtsecuritymanager_client_api/tsrc/src/ui_tsecuritymanagerblocks.cpp Wed Mar 31 23:02:14 2010 +0300 +++ b/serviceapifw_plat/rtsecuritymanager_client_api/tsrc/src/ui_tsecuritymanagerblocks.cpp Tue May 11 17:01:39 2010 +0300 @@ -267,7 +267,7 @@ TInt cnt = User::CountAllocCells(); // __UHEAP_MARK; - TInt32 exId; + TInt32 exId = 0; TPtrC sptr; aItem.GetNextString(sptr); @@ -998,7 +998,7 @@ TPtrC sptr; aItem.GetNextString(sptr); - CRTSecMgrScriptSession* scriptSession; + CRTSecMgrScriptSession* scriptSession = NULL; iSession = CRTSecManager::NewL (); // iSession2 = CRTSecManager::NewL (); iTrust = CTrustInfo::NewL (); @@ -1296,7 +1296,7 @@ TPtrC sptr; aItem.GetNextString(sptr); - CRTSecMgrScriptSession* scriptSession; + CRTSecMgrScriptSession* scriptSession = NULL; iSession = CRTSecManager::NewL (); // iSession2 = CRTSecManager::NewL (); iTrust = CTrustInfo::NewL (); @@ -1453,7 +1453,7 @@ TInt cnt = User::CountAllocCells(); // __UHEAP_MARK; - TInt32 exId; + TInt32 exId = 0; TPtrC sptr; aItem.GetNextString(sptr);