file-elf: remove unuseful check (found by Clang 6).

error: comparison 'guint32' (aka 'unsigned int') <= 4294967295 is always true [-Werror,-Wtautological-constant-compare]

Change-Id: Id1f6a0a01dd897d263f7133a0d95aaecfba31e14
Reviewed-on: https://code.wireshark.org/review/24495
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Dario Lombardo 2017-11-19 19:06:40 +01:00 committed by Michael Mann
parent 262a84c384
commit 51ff1df443
1 changed files with 1 additions and 1 deletions

View File

@ -1514,7 +1514,7 @@ dissect_elf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
} else if (sh_type >= 0x70000000 && sh_type <= 0x7FFFFFFF) {
proto_item_append_text(sh_entry_item, "Processor Specific (0x%08x)", sh_type);
proto_tree_add_item(sh_entry_tree, hf_elf_sh_type_processor_specific, tvb, offset, 4, machine_encoding);
} else if (sh_type >= 0x80000000 && sh_type <= 0xFFFFFFFF) {
} else if (sh_type >= 0x80000000) {
proto_item_append_text(sh_entry_item, "User Specific (0x%08x)", sh_type);
proto_tree_add_item(sh_entry_tree, hf_elf_sh_type_user_specific, tvb, offset, 4, machine_encoding);
}else {