--- a/harvester/blacklistclient/src/blacklistclient.cpp Mon Jan 18 20:34:07 2010 +0200
+++ b/harvester/blacklistclient/src/blacklistclient.cpp Tue Jan 26 12:13:20 2010 +0200
@@ -151,7 +151,7 @@
ipcArgs.Set( 1, &aUri );
ipcArgs.Set( 2, &mediaIdPckg );
- TInt err = SendReceive( EBlacklistRemoveFromDB, ipcArgs );
+ const TInt err = SendReceive( EBlacklistRemoveFromDB, ipcArgs );
User::LeaveIfError( err );
WRITELOG( "CBlacklistServer::RemoveFromDBL - end" );
@@ -168,7 +168,7 @@
TPckgBuf<TInt> handleBuf;
TIpcArgs ipcArgs;
ipcArgs.Set( 1, &handleBuf );
- TInt err = SendReceive( EGetBlacklistData, ipcArgs );
+ const TInt err = SendReceive( EGetBlacklistData, ipcArgs );
User::LeaveIfError( err );
aHandle = handleBuf();
@@ -270,7 +270,7 @@
{
WRITELOG( "CBlacklistServer::RemoveFromMemoryTableL - begin" );
- TInt index = GetListIndex( aUri, aMediaId );
+ const TInt index = GetListIndex( aUri, aMediaId );
if ( index >= 0 )
{
CBlacklistItem* item = iBlacklistMemoryTable[index];
@@ -290,7 +290,7 @@
{
WRITELOG( "CBlacklistServer::IsBlacklistedL - begin" );
- TInt index = GetListIndex( aUri, aMediaId );
+ const TInt index = GetListIndex( aUri, aMediaId );
if ( index >= 0 )
{
TInt64 modified( 0 );