From 85dcedffa5de44699ff4885a344c70d97aaead32 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Thu, 10 Mar 2011 12:38:40 -0800 Subject: [PATCH] ovsdb: Fix uninitialized data;. This could causes unit tests to fail sometimes. --- ovsdb/ovsdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2