]> git.proxmox.com Git - mirror_ovs.git/commit - ofproto/bond.c
Fix some -Wimplicit-fallthrough warnings building with GCC 7
authorTimothy Redaelli <tredaelli@redhat.com>
Fri, 23 Jun 2017 16:12:49 +0000 (18:12 +0200)
committerBen Pfaff <blp@ovn.org>
Tue, 11 Jul 2017 20:05:34 +0000 (13:05 -0700)
commit73c7216a5329ece3b62281db64c5793061bdc007
treeaebf4c9f1400cf2b53aa0bb77f83434c39328431
parent656238ee92c2f8fde2486af66d113b61ce63a95b
Fix some -Wimplicit-fallthrough warnings building with GCC 7

-Wimplicit-fallthrough warns when a switch case falls through and since this
warning is enabled by -Wextra it breaks building with --enable-Werror.

Added "/* fall through */" comment when needed in order to avoid the warning.

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/fat-rwlock.c
lib/flow.c
lib/hash.c
lib/ofp-util.c
lib/rstp-state-machines.c
ofproto/bond.c
ovn/lib/lex.c
ovn/utilities/ovn-nbctl.c
ovn/utilities/ovn-sbctl.c
tests/test-ovn.c
utilities/ovs-vsctl.c