diff -r 4e1aa6a622a0 -r a811597961f0 sysstatemgmt/systemstatereferenceplugins/clayer/src/ssmsimstatusobserver.cpp --- a/sysstatemgmt/systemstatereferenceplugins/clayer/src/ssmsimstatusobserver.cpp Tue Feb 02 00:53:00 2010 +0200 +++ b/sysstatemgmt/systemstatereferenceplugins/clayer/src/ssmsimstatusobserver.cpp Sat Feb 20 00:05:00 2010 +0200 @@ -1,4 +1,4 @@ -// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -155,10 +155,16 @@ * * @internalComponent */ +#ifdef _DEBUG TInt CSsmSimStatusObserver::RunError(TInt aError) +#else +TInt CSsmSimStatusObserver::RunError(TInt) +#endif // _DEBUG { DEBUGPRINT2A("CSsmSimStatusObserver RunError received error: %d", aError); - return aError; + //Errors are thrown if SWP transitions are not allowed. + //So, handles such errors gracefully. + return KErrNone; } /**