[ovs-git] [openvswitch/ovs] 3036c1: ofctrl: Placate GCC.
noreply at github.com
Wed Aug 1 17:14:18 UTC 2018
Author: Ben Pfaff <blp at ovn.org>
Date: 2018-08-01 (Wed, 01 Aug 2018)
ofctrl: Placate GCC.
Some GCC versions don't like ".x.y =", complaining about an uninitialized
Without this patch we get travis failures, e.g.
ovn/controller/ofctrl.c: In function ‘ofctrl_put’:
ovn/controller/ofctrl.c:1086:9: error: missing initializer for field ‘flags’ of ‘struct ofputil_meter_config’ [-Werror=missing-field-initializers]
In file included from ovn/controller/ofctrl.c:35:0:
./include/openvswitch/ofp-meter.h:53:14: note: ‘flags’ declared here
With it, it passes.
Fixes: 185b13f228ac ("ovn: Add Meter and Meter_Band tables to the NB and SB databases.")
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Justin Pettit <jpettit at ovn.org>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git