Re: [ovs-dev] [PATCH 1/1] ovn-nbctl: Initialize arguments to avoid compilation warnings.

2018-07-31 Thread Ben Pfaff
On Thu, Jul 26, 2018 at 10:05:01AM +0200, Jakub Sitnicki wrote: > On Wed, 25 Jul 2018 15:00:43 +0100 > Ian Stokes wrote: > > > Output arguments for parse_priority() and dhcp_options_get() may not be > > initialized when either function returns an error. > > > > This causes compilation warnings

Re: [ovs-dev] [PATCH 1/1] ovn-nbctl: Initialize arguments to avoid compilation warnings.

2018-07-26 Thread Jakub Sitnicki
On Wed, 25 Jul 2018 15:00:43 +0100 Ian Stokes wrote: > Output arguments for parse_priority() and dhcp_options_get() may not be > initialized when either function returns an error. > > This causes compilation warnings for GCC 6.3.x regarding use of > uninitialized variable use and

[ovs-dev] [PATCH 1/1] ovn-nbctl: Initialize arguments to avoid compilation warnings.

2018-07-25 Thread Ian Stokes
Output arguments for parse_priority() and dhcp_options_get() may not be initialized when either function returns an error. This causes compilation warnings for GCC 6.3.x regarding use of uninitialized variable use and null-pointer-arithmetic. Fix this by initializing priority_p* value to 0 for