--- a/serviceproviders/sapi_location/tsrc/dev/tlocservicetest/src/tfunctionthread.cpp Tue Apr 27 17:33:05 2010 +0300
+++ b/serviceproviders/sapi_location/tsrc/dev/tlocservicetest/src/tfunctionthread.cpp Tue May 11 17:01:36 2010 +0300
@@ -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 ;