From 34668bbec17d57a905ea18e0581cbf362649c6fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=81=E6=B5=A9?= <1948281915@qq.com> Date: Sat, 30 Oct 2021 11:07:27 +0000 Subject: [PATCH] update core/tc_client_driver.c. bugfix for uninitialized value 'ret'. of course, I know CONFIG_TZDRIVER_MODULE is defined. Signed-off-by: YuanHao(yuanhao34@huawei.com) --- core/tc_client_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tc_client_driver.c b/core/tc_client_driver.c index 962a6f4..a429855 100644 --- a/core/tc_client_driver.c +++ b/core/tc_client_driver.c @@ -1037,7 +1037,7 @@ smc_data_free: static void tc_re_init(const struct device *class_dev) { - int ret; + int ret = 0; agent_init(); -- Gitee