From 29467e04fbc15f53001c0c95227db34160b776e7 Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Fri, 26 Nov 2021 16:10:43 +0100 Subject: Fixing compiler warnings Adjusting toolchain files which compiler warnings to enable. Fixing compiler warnings reported by Arm Clang and Arm GCC. Change-Id: I715e875904ffd7ecfe994d3093cdf066373981b1 --- applications/trustzone_inference/secure/main_secure.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/trustzone_inference/secure') 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}; -- cgit v1.2.1