diff -r 0b68a1b0c15e -r a9c0808a1095 serviceproviders/sapi_location/tsrc/dev/tlocservicetest/src/tfunctionthread.cpp --- 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 ;