diff -r e5b3a2155e1a -r d2c4c66342f3 messagingfw/biomsgfw/wappsrc/wapp.cpp --- a/messagingfw/biomsgfw/wappsrc/wapp.cpp Thu Aug 19 10:24:00 2010 +0300 +++ b/messagingfw/biomsgfw/wappsrc/wapp.cpp Tue Aug 31 15:41:11 2010 +0300 @@ -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);