Skip to content

Commit 481db48

Browse files
committed
bundle: Avoid GCC 4.5 warning about possibly uninitialized value.
This value is not actually uninitialized but GCC 4.5 cannot tell.
1 parent 8815f11 commit 481db48

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/bundle.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ bundle_execute(const struct nx_action_bundle *nab, const struct flow *flow,
4646

4747
flow_hash = flow_hash_fields(flow, ntohs(nab->fields), ntohs(nab->basis));
4848
best = -1;
49+
best_hash = 0;
4950

5051
for (i = 0; i < ntohs(nab->n_slaves); i++) {
5152
if (slave_enabled(bundle_get_slave(nab, i), aux)) {

0 commit comments

Comments
 (0)