fix(static-checks): fix cppcheck warnings
Fix some cppcheck warnings.
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Change-Id: I3f47ef5a54924d48c5e78cc3a38cc3d7508b24aa
diff --git a/runtime/core/run.c b/runtime/core/run.c
index 9127072..7f49dc4 100644
--- a/runtime/core/run.c
+++ b/runtime/core/run.c
@@ -351,7 +351,7 @@
restore_ns_state(ns_state);
/* Undo the heap association */
- attestation_heap_ctx_unassign_pe(&rec->alloc_info.ctx);
+ attestation_heap_ctx_unassign_pe();
/* Unmap auxiliary granules */
unmap_rec_aux(rec_aux, rec->num_rec_aux);
}