diff -r 0a271e5c9962 -r 91ba8de50d7b sysstatemgmt/systemstatereferenceplugins/clayer/src/ssmsimstatusobserver.cpp --- a/sysstatemgmt/systemstatereferenceplugins/clayer/src/ssmsimstatusobserver.cpp Mon Mar 08 21:44:39 2010 +0000 +++ b/sysstatemgmt/systemstatereferenceplugins/clayer/src/ssmsimstatusobserver.cpp Sun Mar 14 13:15:06 2010 +0000 @@ -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; } /**