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:
parent
a39fcee57a
commit
90a060c339
|
@ -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? */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue