file-pcapng-darwin: fix Dead Store found by Clang Analyzer

This commit is contained in:
Alexis La Goutte 2023-02-22 19:56:18 +00:00 committed by Martin Mathieson
parent e6e3d0e50c
commit 56b97c0fa5
1 changed files with 0 additions and 1 deletions

View File

@ -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 */