serviceproviders/sapi_location/tsrc/dev/tlocservicetest/src/tfunctionthread.cpp
branchRCL_3
changeset 66 a9c0808a1095
parent 65 0b68a1b0c15e
--- a/serviceproviders/sapi_location/tsrc/dev/tlocservicetest/src/tfunctionthread.cpp	Tue Aug 31 16:06:03 2010 +0300
+++ b/serviceproviders/sapi_location/tsrc/dev/tlocservicetest/src/tfunctionthread.cpp	Wed Sep 01 12:28:47 2010 +0100
@@ -350,7 +350,7 @@
 
 TInt ServiceFailedTest(TAny */*Arg*/)
 {
-    TInt errRet;
+    TInt errRet = 0;
     CTrapCleanup* cleanup = CTrapCleanup::New();
     TRAPD(err , errRet = ServiceFailedFunctionL()) ;
     delete cleanup ;
@@ -394,7 +394,7 @@
 {
   
 	CTrapCleanup* cleanup = CTrapCleanup::New();
-	TInt  Val ;
+	TInt  Val = 0;
 	//Install a new active scheduler to this thread 
 	TRAPD(err ,( Val = ConcurrentGetLocCallsL()) );
 	delete cleanup ;
@@ -450,7 +450,7 @@
 {
   
 	CTrapCleanup* cleanup = CTrapCleanup::New();
-	TInt  Val ;
+	TInt  Val = 0;
 	//Install a new active scheduler to this thread 
 	TRAPD(err ,( Val = ConcurrentTraceCallsL()) );
 	delete cleanup ;
@@ -468,7 +468,7 @@
     {
 
     CTrapCleanup* cleanup = CTrapCleanup::New();
-    TInt  Val ;
+    TInt  Val = 0;
     //Install a new active scheduler to this thread 
     TRAPD(err ,( Val = TraceTimeOutFuncL()) );
     delete cleanup ;