forked from osmocom/wireshark
file-pcapng-darwin: fix Dead Store found by Clang Analyzer
This commit is contained in:
parent
e6e3d0e50c
commit
56b97c0fa5
|
@ -151,7 +151,6 @@ void dissect_darwin_process_info_option(proto_tree *option_tree, proto_item *opt
|
|||
switch (option_code) {
|
||||
case 2: /* Darwin Process Name */
|
||||
proto_tree_add_item_ret_display_string(option_tree, hf_pcapng_option_darwin_process_name, tvb, offset, option_length, ENC_NA | ENC_UTF_8, pinfo->pool, &str);
|
||||
offset += option_length;
|
||||
break;
|
||||
|
||||
case 4: /* Darwin Process UUID */
|
||||
|
|
Loading…
Reference in New Issue