messagingapp/msgappfw/plugins/previewplugin/src/ccspreviewpluginhandler.cpp
changeset 72 6f657153cbc5
parent 70 a15d9966050f
--- a/messagingapp/msgappfw/plugins/previewplugin/src/ccspreviewpluginhandler.cpp	Fri Sep 17 08:28:39 2010 +0300
+++ b/messagingapp/msgappfw/plugins/previewplugin/src/ccspreviewpluginhandler.cpp	Mon Oct 04 00:13:15 2010 +0300
@@ -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();