forked from osmocom/wireshark
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: Id7bab3a69514f159eda8d1285ca7f8f2d42e34ad Reviewed-on: https://code.wireshark.org/review/61 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
2516e54202
commit
b4f90d96a5
|
@ -449,7 +449,6 @@ static void dissect_lwm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
break;
|
||||
|
||||
default:
|
||||
len = 0; /*nothing processed*/
|
||||
/*Unknown command*/
|
||||
expert_add_info_format(pinfo, lwm_cmd_tree, &ei_lwm_mal_error, "Unknown command");
|
||||
call_dissector(data_handle, new_tvb, pinfo, lwm_cmd_tree);
|
||||
|
|
Loading…
Reference in New Issue