summaryrefslogtreecommitdiff
path: root/src/config/config_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/config_api.c')
-rw-r--r--src/config/config_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/config/config_api.c b/src/config/config_api.c
index deff33a10bd..4e8f0d08400 100644
--- a/src/config/config_api.c
+++ b/src/config/config_api.c
@@ -322,8 +322,7 @@ __wt_configure_method(WT_SESSION_IMPL *session,
newcheck = &checks[cnt];
newcheck->name = newcheck_name;
WT_ERR(__wt_strdup(session, type, &newcheck->type));
- if (check != NULL)
- WT_ERR(__wt_strdup(session, check, &newcheck->checks));
+ WT_ERR(__wt_strdup(session, check, &newcheck->checks));
entry->checks = checks;
entry->checks_entries = 0;