aboutsummaryrefslogtreecommitdiff
path: root/applications/trustzone_inference/secure/main_secure.cpp
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2021-11-26 16:10:43 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2021-12-02 12:17:25 +0100
commit29467e04fbc15f53001c0c95227db34160b776e7 (patch)
treeddf60ed434b7190c750d77fb692472eb89ea7115 /applications/trustzone_inference/secure/main_secure.cpp
parent7cec916ffd20a5a7999465d107a116806d6c6e96 (diff)
downloadethos-u-core-platform-29467e04fbc15f53001c0c95227db34160b776e7.tar.gz
Fixing compiler warnings
Adjusting toolchain files which compiler warnings to enable. Fixing compiler warnings reported by Arm Clang and Arm GCC. Change-Id: I715e875904ffd7ecfe994d3093cdf066373981b1
Diffstat (limited to 'applications/trustzone_inference/secure/main_secure.cpp')
-rw-r--r--applications/trustzone_inference/secure/main_secure.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/trustzone_inference/secure/main_secure.cpp b/applications/trustzone_inference/secure/main_secure.cpp
index df22929..984f19a 100644
--- a/applications/trustzone_inference/secure/main_secure.cpp
+++ b/applications/trustzone_inference/secure/main_secure.cpp
@@ -87,7 +87,7 @@ static int setup_sram0_mpc(const uint32_t baseaddr_s, /* Secure base address */
const struct mpc_sie_dev_cfg_t mpc_dev_cfg = {SRAM0_MPC};
/* MPC device data */
- struct mpc_sie_dev_data_t mpc_dev_data = {0};
+ struct mpc_sie_dev_data_t mpc_dev_data = {};
/* MPC device itself */
struct mpc_sie_dev_t mpc_dev = {&mpc_dev_cfg, &mpc_dev_data};
@@ -154,7 +154,7 @@ static int setup_bram_mpc(const uint32_t baseaddr_s, /* Secure base address */
const struct mpc_sie_dev_cfg_t mpc_dev_cfg = {BRAM_MPC};
/* MPC device data */
- struct mpc_sie_dev_data_t mpc_dev_data = {0};
+ struct mpc_sie_dev_data_t mpc_dev_data = {};
/* MPC device itself */
struct mpc_sie_dev_t mpc_dev = {&mpc_dev_cfg, &mpc_dev_data};