mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-12-02 22:34:03 +08:00
d17b136f7d
This big patch was compiled by vimgrepping for memset calls and changing to C99 initializer if applicable. One notable exception is the initialization of union bpf_attr in tc/tc_bpf.c: changing it would break for older gcc versions (at least <=3.4.6). Calls to memset for struct rtattr pointer fields for parse_rtattr*() were just dropped since they are not needed. The changes here allowed the compiler to discover some unused variables, so get rid of them, too. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: David Ahern <dsa@cumulusnetworks.com> |
||
---|---|---|
.. | ||
color.c | ||
coverity_model.c | ||
dnet_ntop.c | ||
dnet_pton.c | ||
inet_proto.c | ||
ipx_ntop.c | ||
ipx_pton.c | ||
json_writer.c | ||
libgenl.c | ||
libnetlink.c | ||
ll_addr.c | ||
ll_map.c | ||
ll_proto.c | ||
ll_types.c | ||
Makefile | ||
mpls_ntop.c | ||
mpls_pton.c | ||
names.c | ||
namespace.c | ||
rt_names.c | ||
utils.c |