diff options
Diffstat (limited to 'src/btree/row_key.c')
-rw-r--r-- | src/btree/row_key.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/btree/row_key.c b/src/btree/row_key.c index 032fdf7d897..5bb09832eed 100644 --- a/src/btree/row_key.c +++ b/src/btree/row_key.c @@ -471,6 +471,8 @@ __wt_row_ikey_alloc(WT_SESSION_IMPL *session, { WT_IKEY *ikey; + WT_ASSERT(session, key != NULL); /* quiet clang scan-build */ + /* * Allocate memory for the WT_IKEY structure and the key, then copy * the key into place. |