diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2023-12-20 14:55:43 +0100 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2023-12-20 21:49:39 +0000 |
commit | a37c90e497c4acfffb9ef0405fb8f3070e33d93b (patch) | |
tree | 5902c92562a24a10157b4c96dad1aa14b862c8c8 | |
parent | 0b9c79598b90ff13cb24341c418a55be2534fa77 (diff) |
addr_resolv: Fix Dead Store found by Clang Analyzer
Value stored to 'bitmask' is never read
-rw-r--r-- | epan/addr_resolv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c index 60d1df46e3..1712f9d2f6 100644 --- a/epan/addr_resolv.c +++ b/epan/addr_resolv.c @@ -1998,7 +1998,6 @@ eth_resolved_name_fill(hashether_t *tp, const char *name, unsigned mask, const g pos += snprintf(tp->resolved_name + pos, MAXNAMELEN - pos, bitmask >= 4 ? "_%01x" : "_%02x", addr[bytes] & (0xFF >> bitmask)); - bitmask = 0; bytes++; } |