summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-10-22 13:37:18 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-10-22 13:37:18 +1100
commit7c53380460df8ce0e9dfb5b639146fe0e95ec559 (patch)
treecc49b7b59867ab2502b62bc1e907a1a516302ee7
parent8388dced851923a0a7fd72b7bdccec894455a779 (diff)
downloadmongo-7c53380460df8ce0e9dfb5b639146fe0e95ec559.tar.gz
lint
schema_list.c:70:4: error: 'table' may be used uninitialized in this function
-rw-r--r--src/schema/schema_list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/schema/schema_list.c b/src/schema/schema_list.c
index 583236e914b..ddcdfdac947 100644
--- a/src/schema/schema_list.c
+++ b/src/schema/schema_list.c
@@ -59,6 +59,7 @@ __wt_schema_get_table(WT_SESSION_IMPL *session,
WT_DECL_RET;
WT_TABLE *table;
+ table = NULL;
ret = __schema_find_table(session, name, namelen, &table);
if (ret == WT_NOTFOUND)