[ovs-git] [openvswitch/ovs] 165c1f: db-ctl-base: Fix compilation warnings.

GitHub noreply at github.com
Thu Jul 5 17:59:13 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 165c1f0649aff48de1bff5afa0ba833e0ae5087d
      https://github.com/openvswitch/ovs/commit/165c1f0649aff48de1bff5afa0ba833e0ae5087d
  Author: Ian Stokes <ian.stokes at intel.com>
  Date:   2018-07-05 (Thu, 05 Jul 2018)

  Changed paths:
    M lib/db-ctl-base.c

  Log Message:
  -----------
  db-ctl-base: Fix compilation warnings.

This commit fixes uninitialized variable warnings in functions
cmd_create() and cmd_get() when compiling with gcc 6.3.1 and -Werror
by initializing variables 'symbol' and 'new' to NULL.

Cc: Alex Wang <alexw at nicira.com>
Fixes: 07ff77ccb82a ("db-ctl-base: Make common database command code into library.")
Signed-off-by: Ian Stokes <ian.stokes at intel.com>
Signed-off-by: Ben Pfaff <blp 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