You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/05/04 14:32:37 UTC

[incubator-nuttx] 03/05: Surpress unused rtcb variable

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 4c24d91b4acedcd3c458c895dd4483866f3d3b2a
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Wed Apr 29 20:02:51 2020 -0700

    Surpress unused rtcb variable
    
    Signed-off-by: Brennan Ashton <ba...@brennanashton.com>
---
 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 3f4d0c8..a727b9b 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."