Bluetooth: ATT: Fix code will never be executed [-Wunreachable-code]
Change-Id: I5048da723ddecde931956ed1af77438f823c1990 Reviewed-on: https://code.wireshark.org/review/10125 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
This commit is contained in:
parent
d470ff1238
commit
03b78a0144
|
@ -3914,8 +3914,6 @@ get_value(packet_info *pinfo, guint32 handle, bluetooth_data_t *bluetooth_data,
|
|||
last_offset = fragment_data->offset;
|
||||
}
|
||||
|
||||
if (length)
|
||||
*length = 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue