bluetooth/btcomm/src/states.cpp
changeset 51 20ac952a623c
parent 17 907b2fb7aa8e
--- a/bluetooth/btcomm/src/states.cpp	Thu Sep 23 17:06:47 2010 +0300
+++ b/bluetooth/btcomm/src/states.cpp	Wed Oct 13 16:20:29 2010 +0300
@@ -625,6 +625,12 @@
 
 	key.iStateLength = 0;
 
+	// Coverity[uninit_use_in_call]
+	// This refers to the elements in the continuation state key. 
+	// However iStateLength is the expected length of that continaution state key, 
+	// which here has been set to zero - indicating the query is too short to 
+	// require continuation. Hence no elements in this continuation state need 
+	// initialising.
 	aContext->iSDPRequest.Copy(TSDPServiceSearchKeyBuf(key));
 	aContext->iSDPServRecordHandle.SetMax(); 
 	netdb.Query(aContext->iSDPRequest,aContext->iSDPServRecordHandle,aContext->iStatus);