Re: [ovs-dev] [PATCH] datapath: Fix uninitialized variable warning.

2011-10-21 Thread Jesse Gross
On Fri, Oct 21, 2011 at 3:46 PM, Pravin Shelar wrote: > On Fri, Oct 21, 2011 at 3:26 PM, Jesse Gross wrote: >> Commit 4edb9ae90e4092f5f56b9d914d2b88783c49860d "datapath: Refactor >> actions in terms of match fields." introduced a spurious warning >> because the compiler thinks a value might not h

Re: [ovs-dev] [PATCH] datapath: Fix uninitialized variable warning.

2011-10-21 Thread Pravin Shelar
On Fri, Oct 21, 2011 at 3:26 PM, Jesse Gross wrote: > Commit 4edb9ae90e4092f5f56b9d914d2b88783c49860d "datapath: Refactor > actions in terms of match fields." introduced a spurious warning > because the compiler thinks a value might not have been assigned to > 'err'.  In practice this can't happen

[ovs-dev] [PATCH] datapath: Fix uninitialized variable warning.

2011-10-21 Thread Jesse Gross
Commit 4edb9ae90e4092f5f56b9d914d2b88783c49860d "datapath: Refactor actions in terms of match fields." introduced a spurious warning because the compiler thinks a value might not have been assigned to 'err'. In practice this can't happen because we've already validated the actions. CC: Pravin B S