diff -r e7635922c074 -r 0abbef78e78b messagingfw/biomsgfw/wappsrc/wapp.cpp --- a/messagingfw/biomsgfw/wappsrc/wapp.cpp Tue Aug 03 21:08:41 2010 +0530 +++ b/messagingfw/biomsgfw/wappsrc/wapp.cpp Wed Aug 18 01:39:51 2010 +0530 @@ -3732,7 +3732,7 @@ #endif // SYMBIAN_BOOKMARK_DATABASE // File writing has completed, set the size in the attachment - TInt fileSize; + TInt fileSize = 0; User::LeaveIfError(file.Size(fileSize)); attachment->SetSize(fileSize);