diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2023-02-22 19:56:18 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2023-02-22 22:35:36 +0000 |
commit | 56b97c0fa54fb92ec37d7436a012b56fe19534de (patch) | |
tree | 4cb8976511869d902a7d293596767127cf02edc9 | |
parent | e6e3d0e50c81d19431374ff89c8936bde8824e84 (diff) |
file-pcapng-darwin: fix Dead Store found by Clang Analyzer
-rw-r--r-- | epan/dissectors/file-pcapng-darwin.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/file-pcapng-darwin.c b/epan/dissectors/file-pcapng-darwin.c index c11994918f..e3e0963caf 100644 --- a/epan/dissectors/file-pcapng-darwin.c +++ b/epan/dissectors/file-pcapng-darwin.c @@ -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 */ |