Skip to content

Commit 8fdbaa4

Browse files
committed
SPM: fix compilation warning
Fix "unused variable" compilation warning. Change-Id: I460c4d612184ea57e47ee8da050495435c21912d Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no> (cherry picked from commit ca9be3b) Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
1 parent fed2966 commit 8fdbaa4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

secure_fw/spm/core/backend_ipc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ static void prv_process_metadata(struct partition_t *p_pt)
125125
struct runtime_metadata_t *p_rt_meta;
126126
service_fn_t *p_sfn_table;
127127
uint32_t allocate_size;
128+
#if TFM_ISOLATION_LEVEL != 1
128129
FIH_RET_TYPE(bool) fih_rc;
130+
#endif
129131

130132
p_pt_ldi = p_pt->p_ldinf;
131133
p_srv_ldi = LOAD_INFO_SERVICE(p_pt_ldi);

0 commit comments

Comments
 (0)