Explorar o código

[lwP] fix unused variable

Bernard Xiong %!s(int64=3) %!d(string=hai) anos
pai
achega
5c463496ba
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      components/lwp/lwp_pid.c

+ 0 - 1
components/lwp/lwp_pid.c

@@ -437,7 +437,6 @@ void lwp_free(struct rt_lwp* lwp)
     /* for parent */
     {
         struct termios *old_stdin_termios = get_old_termios();
-        struct rt_lwp *self_lwp = (struct rt_lwp *)lwp_self();
         struct rt_lwp *old_lwp = NULL;
 
         if (lwp->session == -1)