diff options
author | Ethan Jackson <ethan@nicira.com> | 2011-03-10 12:38:40 -0800 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2011-03-10 12:38:40 -0800 |
commit | 85dcedffa5de44699ff4885a344c70d97aaead32 (patch) | |
tree | e97374ef039be2b11c9581461cfa8b3b4cdffac6 /ovsdb | |
parent | 98d79c212205f40040cd49a98f9fda0336eb9e63 (diff) |
ovsdb: Fix uninitialized data;.
This could causes unit tests to fail sometimes.
Diffstat (limited to 'ovsdb')
-rw-r--r-- | ovsdb/ovsdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ovsdb/ovsdb.c b/ovsdb/ovsdb.c index aad84152..d4a27d40 100644 --- a/ovsdb/ovsdb.c +++ b/ovsdb/ovsdb.c @@ -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; |