Re: [ovs-dev] [PATCH v1] ofp-prop: Silence the 'may be uninitialized' warning.

2022-03-11 Thread Ilya Maximets
On 3/4/22 12:48, Eelco Chaudron wrote: > > > On 28 Feb 2022, at 2:56, Mike Pattrick wrote: > >> GCC 11.2.1-2.2 emits a false-positive warnings like: >> >> lib/ofp-packet.c: In function 'ofputil_decode_packet_in': >> lib/ofp-packet.c:155:25: warning: 'reason' may be used >> uninitialized

Re: [ovs-dev] [PATCH v1] ofp-prop: Silence the 'may be uninitialized' warning.

2022-03-04 Thread Eelco Chaudron
On 28 Feb 2022, at 2:56, Mike Pattrick wrote: > GCC 11.2.1-2.2 emits a false-positive warnings like: > > lib/ofp-packet.c: In function 'ofputil_decode_packet_in': > lib/ofp-packet.c:155:25: warning: 'reason' may be used > uninitialized [-Wmaybe-uninitialized] > lib/ofp-packet.c: In

[ovs-dev] [PATCH v1] ofp-prop: Silence the 'may be uninitialized' warning.

2022-02-27 Thread Mike Pattrick
GCC 11.2.1-2.2 emits a false-positive warnings like: lib/ofp-packet.c: In function 'ofputil_decode_packet_in': lib/ofp-packet.c:155:25: warning: 'reason' may be used uninitialized [-Wmaybe-uninitialized] lib/ofp-packet.c: In function 'ofputil_decode_packet_in_private':