diff -r ba32e40d9f36 -r c4e342fcf0c8 persistentstorage/sql/SRC/Security/SqlSecurityImpl.cpp --- a/persistentstorage/sql/SRC/Security/SqlSecurityImpl.cpp Mon Jun 21 22:46:09 2010 +0100 +++ b/persistentstorage/sql/SRC/Security/SqlSecurityImpl.cpp Thu Jul 22 16:49:09 2010 +0100 @@ -179,11 +179,9 @@ RSqlSecurityPolicy::EReadPolicy, RSqlSecurityPolicy::EWritePolicy. @param aPolicy Security policy data used for setting the related database security policy. -@return KErrNone - @panic SqlDb 4 In _DEBUG mode. Invalid policy type. */ -TInt CSqlSecurityPolicy::SetDbPolicy(RSqlSecurityPolicy::TPolicyType aPolicyType, const TSecurityPolicy& aPolicy) +void CSqlSecurityPolicy::SetDbPolicy(RSqlSecurityPolicy::TPolicyType aPolicyType, const TSecurityPolicy& aPolicy) { const TInt KPolicyIndex = CSqlSecurityPolicy::PolicyType2Index(aPolicyType); __SQLASSERT((TUint)KPolicyIndex < EPolicyTypeCount, ESqlPanicBadArgument); @@ -194,7 +192,6 @@ //KPolicyIndex value is tested at the beginning of the function //coverity[overrun-local] item->iPolicy[KPolicyIndex] = aPolicy; - return KErrNone; } /**