Merge pull request #3943 from chipitsine/cppcheck

resolve an issue identified by cppcheck:
This commit is contained in:
akallabeth 2017-05-08 16:28:58 +02:00 committed by GitHub
commit a7215402ba

View File

@ -1658,7 +1658,7 @@ cancel_retry:
WLog_DBG(TAG,"CancelId:0x%"PRIx32" RequestId:0x%x endpoint 0x%x!!",
RequestId, request->RequestId, request->endpoint);
if ((request && request->RequestId) == (RequestId && retry_times <= 10))
if (request->RequestId == (RequestId && retry_times <= 10))
{
status = func_cancel_xact_request(request);
break;