diff -r 73b88125830c -r b8d1455fddc0 testfws/stif/StifKernelTestClassBase/src/StifKernelTestClassBase.cpp --- a/testfws/stif/StifKernelTestClassBase/src/StifKernelTestClassBase.cpp Fri Sep 17 08:39:50 2010 +0300 +++ b/testfws/stif/StifKernelTestClassBase/src/StifKernelTestClassBase.cpp Mon Oct 04 02:58:21 2010 +0300 @@ -168,8 +168,6 @@ TStifRunMethodInfo methodInfo; TPckg methodInfoPckg( methodInfo ); - TInt err = KErrNone; - ret = Kern::ThreadDesRead( iThread, a1, methodInfoPckg, 0, KChunkShiftBy0 ); if( ret != KErrNone ) { @@ -183,13 +181,7 @@ // seems to allow leaves (L in the end of the name), it really doesn't! ret = RunMethodL( methodInfo.iMethodName, methodInfo.iMethodParams ); - if( err != KErrNone ) - { - methodInfo.iResult = err; - methodInfo.iMethodResultDes.Copy( _L("RunMethodL leave: ") ); - methodInfo.iMethodResultDes.AppendNum( err ); - } - else if( ret != KErrNone ) + if( ret != KErrNone ) { methodInfo.iResult = ret; methodInfo.iMethodResultDes.Copy( _L("RunMethodL returned error: ") );