equal
deleted
inserted
replaced
623 key.iMaxCount = 20; |
623 key.iMaxCount = 20; |
624 key.iUUID = aContext->iDefaultService.UUID(); |
624 key.iUUID = aContext->iDefaultService.UUID(); |
625 |
625 |
626 key.iStateLength = 0; |
626 key.iStateLength = 0; |
627 |
627 |
|
628 // Coverity[uninit_use_in_call] |
|
629 // This refers to the elements in the continuation state key. |
|
630 // However iStateLength is the expected length of that continaution state key, |
|
631 // which here has been set to zero - indicating the query is too short to |
|
632 // require continuation. Hence no elements in this continuation state need |
|
633 // initialising. |
628 aContext->iSDPRequest.Copy(TSDPServiceSearchKeyBuf(key)); |
634 aContext->iSDPRequest.Copy(TSDPServiceSearchKeyBuf(key)); |
629 aContext->iSDPServRecordHandle.SetMax(); |
635 aContext->iSDPServRecordHandle.SetMax(); |
630 netdb.Query(aContext->iSDPRequest,aContext->iSDPServRecordHandle,aContext->iStatus); |
636 netdb.Query(aContext->iSDPRequest,aContext->iSDPServRecordHandle,aContext->iStatus); |
631 aContext->SetState(iFactory->GetState(CBTPortStateFactory::ESDPServiceQuery)); |
637 aContext->SetState(iFactory->GetState(CBTPortStateFactory::ESDPServiceQuery)); |
632 aContext->SetActive(); |
638 aContext->SetActive(); |