[ovs-git] [openvswitch/ovs] eff2c4: ovn-nbctl: Fix compilation warnings.

GitHub noreply at github.com
Sat Jul 14 20:04:56 UTC 2018

  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: eff2c4e79837bca5fd8944e57538bdcbb7d885d2
  Author: Ian Stokes <ian.stokes at intel.com>
  Date:   2018-07-14 (Sat, 14 Jul 2018)

  Changed paths:
    M ovn/utilities/ovn-nbctl.c

  Log Message:
  ovn-nbctl: Fix compilation warnings.

This commit fixes 'maybe-uninitialized' warnings for pointers in various
functions in ovn-nbctl when compiling with gcc 6.3.1 and -Werror.
Pointers to structs nbrec_logical_switch, nbrec_logical_switch_port,
nbrec_logical_router and nbrec_logical_router_port are now initialized
to NULL where required.

Cc: Justin Pettit <jpettit at ovn.org>
Cc: Venkata Anil <vkommadi at redhat.com>
Fixes: 31114af758c7 ("ovn-nbctl: Update logical router port commands.")
Fixes: 80f408f4cffb ("ovn: Use Logical_Switch_Port in NB.")
Fixes: 36f232bca2db ("ovn: l3ha, CLI for logical router port gateway
Signed-off-by: Ian Stokes <ian.stokes at intel.com>

      **NOTE:** This service 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 mailing list