diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2022-09-06 11:25:15 +0000 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-09-20 06:27:46 +0000 |
commit | 7b2f0222400e9494f7d6ab16dbfa1f467f94f68d (patch) | |
tree | 8760d185382edee88152499c6d1c409c9aa21e62 /epan/dissectors/packet-diameter.c | |
parent | 0a0ff53f5c92df689a6d6e2353414214717f59a0 (diff) |
diameter: Fix Clang Warning
line 2198 Although the value stored to 'vnd' is used in the enclosing expression, the value is never actually read from 'vnd'
Diffstat (limited to 'epan/dissectors/packet-diameter.c')
-rw-r--r-- | epan/dissectors/packet-diameter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-diameter.c b/epan/dissectors/packet-diameter.c index 208cb9d96b..5c2d4480c2 100644 --- a/epan/dissectors/packet-diameter.c +++ b/epan/dissectors/packet-diameter.c @@ -2195,7 +2195,7 @@ dictionary_load(void) continue; } - if ((vnd = (diam_vnd_t *)g_hash_table_lookup(vendors,c->vendor))) { + if ((diam_vnd_t *)g_hash_table_lookup(vendors,c->vendor)) { value_string item[1]; item[0].value = c->code; |