messagingapp/msgappfw/plugins/previewplugin/src/ccspreviewpluginhandler.cpp
changeset 67 fc91263aee62
parent 56 f42d9a78f435
child 73 ecf6a73a9186
--- 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();