diff -r c53acadfccc6 -r acef663c1218 locationmanager/server/src/clocationmanagersession.cpp --- a/locationmanager/server/src/clocationmanagersession.cpp Mon Jan 18 20:34:07 2010 +0200 +++ b/locationmanager/server/src/clocationmanagersession.cpp Tue Jan 26 12:13:20 2010 +0200 @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include @@ -88,7 +88,7 @@ LOG( "CLocationManagerSession::ServiceL" ); _LIT( KSemaphore, "LocManSynchSemaphore" ); RSemaphore semaphore; - TInt result = semaphore.OpenGlobal( KSemaphore ); + const TInt result = semaphore.OpenGlobal( KSemaphore ); LOG1( "CLocationManagerSession::ServiceL - semaphore open result: %d", result ); iMessage = RMessage2( aMessage ); if ( result == KErrNone )