diff -r 62f9d29f7211 -r 272b002df977 webservices/wsstar/wsstarplugin/src/wsstarvalidatehandler.cpp --- a/webservices/wsstar/wsstarplugin/src/wsstarvalidatehandler.cpp Thu Jan 07 16:19:19 2010 +0200 +++ b/webservices/wsstar/wsstarplugin/src/wsstarvalidatehandler.cpp Mon Jan 18 21:21:14 2010 +0200 @@ -132,13 +132,14 @@ CWSStarTrustClient* pSTSClient = STSClientL(pIdentityProvider); if (pSTSClient) { + TInt lerror(KErrNone); TInt error(KErrNone); pSTSClient->SetHandlerCtx(&iHandlerContext); pSTSClient->SetVersion(iVersion); //validate session of concrete WebService HBufC8* errorMessage = NULL; // fix for compiler warning #550-D reverted back - TRAPD(lerror,error = pSTSClient->ValidateL(*pNewSession, renewing, errorMessage, onlySharing);) + TRAP(lerror,error = pSTSClient->ValidateL(*pNewSession, renewing, errorMessage, onlySharing);) lerror = 0; // not used in release builds ((MSenContext&)aCtx).Update(WSStarContextKeys::KReAuthNeeded, EFalse); if (errorMessage)