autosar-nm: Fix Dead Store found by Clang Analyzer

packet-autosar-nm.c:572:7: warning: Value stored to 'offset' is never read [deadcode.DeadStores]
This commit is contained in:
Alexis La Goutte 2021-09-05 16:01:12 +02:00 committed by Wireshark GitLab Utility
parent a39fcee57a
commit 90a060c339
1 changed files with 0 additions and 1 deletions

View File

@ -569,7 +569,6 @@ dissect_autosar_nm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *da
proto_tree_add_item(autosar_nm_subtree, *hf_id, tvb, offset, length, ENC_BIG_ENDIAN);
}
}
offset += length;
} else {
/* should we warn? */
}