diff --git a/res/res_features.c b/res/res_features.c index 7c240a7ef0..afa77818a8 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -1044,7 +1044,7 @@ void ast_register_feature(struct ast_call_feature *feature) { if (!feature) { ast_log(LOG_NOTICE,"You didn't pass a feature!\n"); - return; + return; } AST_LIST_LOCK(&feature_list);