Reply: [PATCH iproute2] ip-link: remove warning message

2016-02-04 Thread 张胜举
> On Thu, 21 Jan 2016 02:23:49 + > Zhang Shengju wrote: > > > the warning was: > > iproute.c:301:12: warning: 'val' may be used uninitialized in this > > function [-Wmaybe-uninitialized] > >features &= ~RTAX_FEATURE_ECN; > > ^ > > iproute.c:575:10: note: 'val' was declared her

Re: [PATCH iproute2] ip-link: remove warning message

2016-02-01 Thread Stephen Hemminger
On Thu, 21 Jan 2016 02:23:49 + Zhang Shengju wrote: > the warning was: > iproute.c:301:12: warning: 'val' may be used uninitialized in this > function [-Wmaybe-uninitialized] >features &= ~RTAX_FEATURE_ECN; > ^ > iproute.c:575:10: note: 'val' was declared here >__u32 val;

[PATCH iproute2] ip-link: remove warning message

2016-01-20 Thread Zhang Shengju
the warning was: iproute.c:301:12: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] features &= ~RTAX_FEATURE_ECN; ^ iproute.c:575:10: note: 'val' was declared here __u32 val; ^ Signed-off-by: Zhang Shengju --- ip/iproute.c | 2 +- 1 f