msrcp: Fix DeadStore found by Clang Analyzer

packet-msrcp.c:135:17: warning: Value stored to 'msrcp_trans' is never read [deadcode.DeadStores]
This commit is contained in:
Alexis La Goutte 2022-02-08 13:32:22 +00:00 committed by A Wireshark GitLab Utility
parent a1be626264
commit 3dee67b2a2
1 changed files with 0 additions and 1 deletions

View File

@ -132,7 +132,6 @@ dissect_msrcp(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, void* data _U
{
if (type == MSRCP_REQUEST)
{
msrcp_trans = (msrcp_transaction_t*)wmem_tree_lookup32_array_le(msrcp_info->pdus, key);
msrcp_trans = wmem_new(wmem_file_scope(), msrcp_transaction_t);
msrcp_trans->req_frame = pinfo->num;
msrcp_trans->rep_frame = 0;