Re: [ovs-dev] [PATCH 04/26] ofproto-dpif-xlate: Initialize 'ctx' all in one place.

2015-07-31 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme > On Jul 29, 2015, at 11:42 PM, Ben Pfaff wrote: > > As I see it, this has two benefits. First, by using an initializer > rather than a series of assignment statements, the reader can be > assured that everything in the structure is actually initialized. > Second, pre

[ovs-dev] [PATCH 04/26] ofproto-dpif-xlate: Initialize 'ctx' all in one place.

2015-07-29 Thread Ben Pfaff
As I see it, this has two benefits. First, by using an initializer rather than a series of assignment statements, the reader can be assured that everything in the structure is actually initialized. Second, previously the initialization of 'ctx' was scattered in a few places in this function, which