[ovs-git] Open vSwitch: ovs-vsctl: Prevent uninitialized variable warning. (next)

dev at openvswitch.org dev at openvswitch.org
Thu Jan 21 15:13:11 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, next has been updated
       via  84a0ee89e29cdae2b9cc80ae383a1222ba4f5ad5 (commit)
       via  91f227cad7cd6a1a36c8cac75e56d1308821fe34 (commit)
      from  8f30d09ab053824b0ee7297fc8475fc1405beb93 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 84a0ee89e29cdae2b9cc80ae383a1222ba4f5ad5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=84a0ee89e29cdae2b9cc80ae383a1222ba4f5ad5
Author: Jesse Gross <jesse at nicira.com>
		
ovs-vsctl: Prevent uninitialized variable warning.
		
The compiler warns about next_cfg being uninitialized but in the cases
where it is unset we will never reach the point where it is used.  This
just sets next_cfg to 0 to stop the whining.


commit 91f227cad7cd6a1a36c8cac75e56d1308821fe34
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=91f227cad7cd6a1a36c8cac75e56d1308821fe34
Author: Jesse Gross <jesse at nicira.com>
		
hash: Prevent warnings about strict aliasing rules.
		
Some versions of GCC complain about violations of strict aliasing
rules due to a cast between different pointer types.  This avoids
any aliasing by copying the value first.


-----------------------------------------------------------------------

Summary of changes:
 lib/hash.h            |    7 +++++--
 utilities/ovs-vsctl.c |    2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list