diff -r 7d4490026038 -r 44f437012c90 persistentstorage/store/UFILE/UF_DICT.CPP --- a/persistentstorage/store/UFILE/UF_DICT.CPP Mon Sep 27 11:59:56 2010 +0100 +++ b/persistentstorage/store/UFILE/UF_DICT.CPP Tue Oct 19 16:26:13 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1998-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" @@ -163,8 +163,9 @@ { case KErrNone: { - TInt size; - if (file.Size(size)==KErrNone && size!=0) + TInt size = -1; + // coverity[negative_returns] + if (file.Size(size)==KErrNone && size>0) { CFileStore* store=NULL; TRAP(r,store=CPermanentFileStore::FromL(file));