Revision: 201016 RCL_3 PDK_3.0.0 PDK_3.0.1
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 11 May 2010 17:01:39 +0300
branchRCL_3
changeset 47 02db64fb1712
parent 43 8fe836ab12d4
child 52 418d2f9448b9
Revision: 201016 Kit: 201019
serviceapifw_plat/liw_criteria_api/tsrc/src/liwtestcasesblocks.cpp
serviceapifw_plat/rtsecuritymanager_client_api/tsrc/src/ui_tsecuritymanagerblocks.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));
        
--- 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);