diff -r d2c4c66342f3 -r d51193d814ea messagingfw/biomsgfw/wappsrc/wapp.cpp --- a/messagingfw/biomsgfw/wappsrc/wapp.cpp Tue Aug 31 15:41:11 2010 +0300 +++ b/messagingfw/biomsgfw/wappsrc/wapp.cpp Wed Sep 01 12:27:27 2010 +0100 @@ -3732,7 +3732,7 @@ #endif // SYMBIAN_BOOKMARK_DATABASE // File writing has completed, set the size in the attachment - TInt fileSize = 0; + TInt fileSize; User::LeaveIfError(file.Size(fileSize)); attachment->SetSize(fileSize);