Revision: 201001 default PDK_3.0.f PDK_3.0.g
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 18 Jan 2010 21:00:57 +0200
changeset 2 c32dc0be5eb4
parent 1 1c07d7ba3e3d
child 6 0b1a89531ca2
Revision: 201001 Kit: 201003
remotestoragefw/gsplugin/src/rsfwgspluginsettinglist.cpp
remotestoragefw/remotefileengine/src/rsfwlruprioritylist.cpp
--- a/remotestoragefw/gsplugin/src/rsfwgspluginsettinglist.cpp	Thu Jan 07 13:15:09 2010 +0200
+++ b/remotestoragefw/gsplugin/src/rsfwgspluginsettinglist.cpp	Mon Jan 18 21:00:57 2010 +0200
@@ -118,6 +118,7 @@
        	 	}
     	else
        		{
+            //coverity[logical_vs_bitwise]
         	cflags &= (!CAknTextSettingPage::EZeroLengthAllowed);
         	}
         (*SettingItemArray())[aIndex]->SetSettingPageFlags(cflags);	
--- a/remotestoragefw/remotefileengine/src/rsfwlruprioritylist.cpp	Thu Jan 07 13:15:09 2010 +0200
+++ b/remotestoragefw/remotefileengine/src/rsfwlruprioritylist.cpp	Mon Jan 18 21:00:57 2010 +0200
@@ -197,7 +197,7 @@
         fid.iVolumeId = aStream.ReadInt32L();
 
         // check whether there is no trash in the data being internalized
-        if (fid.iVolumeId >= 0 && fid.iVolumeId <= KMaxVolumes && fid.iNodeId > 0)
+        if (fid.iVolumeId >= 0 && fid.iVolumeId < KMaxVolumes && fid.iNodeId > 0)
             {
             // find existing CRsfwFileEntry object based on TFid
             CRsfwVolume* volume = aVolumeTable->iVolumes[fid.iVolumeId];