[ovs-dev] [PATCH] ofp-parse: Silence uninitialized use warnings with optimized gcc.

Ben Pfaff blp at nicira.com
Wed Aug 21 21:54:03 UTC 2013


On Wed, Aug 21, 2013 at 02:50:59PM -0700, Ethan Jackson wrote:
> GCC 4.6.3 gets confused by the str_to_*() functions in ofp-parse and
> spits out the following warning.
> 
> error: ???priority??? may be used uninitialized in this function
> 
> Signed-off-by: Ethan Jackson <ethan at nicira.com>

Seems reasonable.

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list