summaryrefslogtreecommitdiff
path: root/tests/test_sorcery_astdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_sorcery_astdb.c')
-rw-r--r--tests/test_sorcery_astdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_sorcery_astdb.c b/tests/test_sorcery_astdb.c
index b87ed74f8..41e7adbc9 100644
--- a/tests/test_sorcery_astdb.c
+++ b/tests/test_sorcery_astdb.c
@@ -60,7 +60,7 @@ static struct ast_sorcery *alloc_and_initialize_sorcery(void)
return NULL;
}
- if ((ast_sorcery_apply_default(sorcery, "test", "astdb", "test") != AST_SORCERY_APPLY_SUCCESS) ||
+ if (ast_sorcery_apply_default(sorcery, "test", "astdb", "test") ||
ast_sorcery_internal_object_register(sorcery, "test", test_sorcery_object_alloc, NULL, NULL)) {
ast_sorcery_unref(sorcery);
return NULL;