From 481db4883344161efab4bd5e7580e21411e62c9f Mon Sep 17 00:00:00 2001
From: Ben Pfaff <blp@nicira.com>
Date: Wed, 20 Jul 2011 09:51:29 -0700
Subject: [PATCH] bundle: Avoid GCC 4.5 warning about possibly uninitialized
 value.

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

diff --git a/lib/bundle.c b/lib/bundle.c
index 996955f6..e6b1c252 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)) {
-- 
2.30.2