diff -r d8ac8e5e4721 -r fc91263aee62 messagingapp/msgappfw/plugins/previewplugin/src/ccspreviewpluginhandler.cpp --- a/messagingapp/msgappfw/plugins/previewplugin/src/ccspreviewpluginhandler.cpp Tue Sep 14 22:54:56 2010 +0530 +++ b/messagingapp/msgappfw/plugins/previewplugin/src/ccspreviewpluginhandler.cpp Fri Sep 17 20:01:45 2010 +0530 @@ -881,7 +881,7 @@ CleanupClosePushL(file); //read file contents to buffer - TInt length; + TInt length = 0; file.Size(length); HBufC8* bodyText = HBufC8::NewLC(length); TPtr8 textBuffer = bodyText->Des();