This value is not actually uninitialized but GCC 4.5 cannot tell.
---
 lib/bundle.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/bundle.c b/lib/bundle.c
index 996955f..e6b1c25 100644
--- a/lib/bundle.c
+++ b/lib/bundle.c
@@ -46,6 +46,7 @@ bundle_execute(const struct nx_action_bundle *nab, const 
struct flow *flow,
 
     flow_hash = flow_hash_fields(flow, ntohs(nab->fields), ntohs(nab->basis));
     best = -1;
+    best_hash = 0;
 
     for (i = 0; i < ntohs(nab->n_slaves); i++) {
         if (slave_enabled(bundle_get_slave(nab, i), aux)) {
-- 
1.7.4.4

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to