fotaapplication/fotaserver/FotaEngine/SRC/fotaengstream.cpp
changeset 22 19fb38abab1d
parent 0 b497e44ab2fc
child 19 86979fe66c4c
--- a/fotaapplication/fotaserver/FotaEngine/SRC/fotaengstream.cpp	Tue Feb 02 00:44:00 2010 +0200
+++ b/fotaapplication/fotaserver/FotaEngine/SRC/fotaengstream.cpp	Fri Apr 16 15:52:47 2010 +0300
@@ -99,6 +99,9 @@
     // Define write area
     TUint8* p1 = iMyWriteStream->iFotaEngineSession->iChunk.Base();
     TUint8* p2;
+    p2 = p1 + chunksize;
+    
+    /* // dead code
     if ( limitedwritearea == -1 ) 
         {
         p2 = p1 + chunksize;
@@ -107,6 +110,7 @@
         {
         p2 = p1 + limitedwritearea;
         }
+        */
     SetBuf  (a,p1 , p2 );
   	FLOG(_L("TDP2StreamBuf::ResetL() <<" ));
     }