Skip to content

Commit

Permalink
ovsdb: Fix uninitialized data;.
Browse files Browse the repository at this point in the history
This could causes unit tests to fail sometimes.
  • Loading branch information
ejj committed Mar 10, 2011
1 parent 98d79c2 commit 85dcedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovsdb/ovsdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static size_t
root_set_size(const struct ovsdb_schema *schema)
{
struct shash_node *node;
size_t n_root;
size_t n_root = 0;

SHASH_FOR_EACH (node, &schema->tables) {
struct ovsdb_table_schema *table = node->data;
Expand Down

0 comments on commit 85dcedf

Please sign in to comment.