bthci/bthci2/hciutil/src/hciutil.cpp
changeset 51 20ac952a623c
parent 0 29b1cd4cb562
--- a/bthci/bthci2/hciutil/src/hciutil.cpp	Thu Sep 23 17:06:47 2010 +0300
+++ b/bthci/bthci2/hciutil/src/hciutil.cpp	Wed Oct 13 16:20:29 2010 +0300
@@ -393,7 +393,7 @@
 
 	// Open file
 	TAutoClose<RFile> file;
-	TInt size;
+	TInt size = 0; //initialise to quell Coverity
 	User::LeaveIfError(file.iObj.Open(fs.iObj,*iName,EFileStreamText|EFileShareReadersOrWriters));
 	file.PushL();
 
@@ -406,7 +406,7 @@
 	TUint8* ptr = (TUint8*)data;
 
 	//
-	// This is orderred as FEFF assuming the processor is Little Endian
+	// This is ordered as FEFF assuming the processor is Little Endian
 	// The data in the file is FFFE.		PRR 28/9/98
 	//
 	if(size>=(TInt)sizeof(TText) && iPtr[0]==0xFEFF)