Wireshark-commits: [Wireshark-commits] master 56a09d2: Try to fix some buildbot warnings
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=56a09d24dcdcaddae1cb67a18bbc2fd588c427ed
Submitter: Michal Labedzki (michal.labedzki@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
56a09d2 by Michal Labedzki (michal.labedzki@xxxxxxxxx):
Try to fix some buildbot warnings
Most interesting are:
warning: cannot optimize loop, the loop counter may overflow [-Wunsafe-loop-optimizations]
warning: ISO C forbids zero-size array [-Wpedantic]
warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual
warning: initializer element is not computable at load time [enabled by default]
Change-Id: I5573c6bdca856a304877d9bef643f8c0fa93cdaf
Reviewed-on: https://code.wireshark.org/review/3174
Petri-Dish: Michal Labedzki <michal.labedzki@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Michal Labedzki <michal.labedzki@xxxxxxxxx>
Actions performed:
from c1d6a41 Clean up reading code.
adds 56a09d2 Try to fix some buildbot warnings
Summary of changes:
epan/dissectors/packet-btavdtp.c | 1 -
epan/dissectors/packet-btbnep.c | 6 +-
epan/dissectors/packet-bthci_cmd.c | 2 +-
epan/dissectors/packet-btsdp.c | 121 ++++++++++++++--------------------
epan/dissectors/packet-logcat-text.c | 18 ++---
epan/dissectors/packet-usb-audio.c | 4 +-
epan/dissectors/packet-usb-com.c | 1 -
epan/dissectors/packet-usb.c | 4 +-
wiretap/file_access.c | 12 ++--
wiretap/file_wrappers.c | 4 ++
wiretap/logcat.c | 20 +++---
wiretap/logcat.h | 6 +-
wiretap/logcat_text.c | 37 ++++++-----
wiretap/merge.c | 5 +-
14 files changed, 112 insertions(+), 129 deletions(-)