From 4c24d91b4acedcd3c458c895dd4483866f3d3b2a Mon Sep 17 00:00:00 2001 From: Brennan Ashton Date: Wed, 29 Apr 2020 20:02:51 -0700 Subject: [PATCH] Surpress unused rtcb variable Signed-off-by: Brennan Ashton --- arch/x86_64/src/intel64/up_initialstate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86_64/src/intel64/up_initialstate.c b/arch/x86_64/src/intel64/up_initialstate.c index 3f4d0c8652..a727b9b1ec 100644 --- a/arch/x86_64/src/intel64/up_initialstate.c +++ b/arch/x86_64/src/intel64/up_initialstate.c @@ -85,6 +85,7 @@ void up_initial_state(struct tcb_s *tcb) /* set page table to share space with current process */ rtcb = this_task(); + UNUSED(rtcb); /* Save the initial stack pointer... the value of the stackpointer before * the "interrupt occurs."