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

GitHub noreply at github.com
Sat Jul 14 18:29:39 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b23e60cfed73dd9cd54332be7961a820a189836d
      https://github.com/openvswitch/ovs/commit/b23e60cfed73dd9cd54332be7961a820a189836d
  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
                chassis")
Signed-off-by: Ian Stokes <ian.stokes at intel.com>
Signed-off-by: Justin Pettit <jpettit at ovn.org>



      **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