diff --git a/lib/libthr/arch/i386/i386/pthread_md.c b/lib/libthr/arch/i386/i386/pthread_md.c index 82074b6c9d37..e99e189b7054 100644 --- a/lib/libthr/arch/i386/i386/pthread_md.c +++ b/lib/libthr/arch/i386/i386/pthread_md.c @@ -40,7 +40,6 @@ _tcb_ctor(struct pthread *thread, int initial) { struct tcb *tcb; void *oldtls; - int error; if (initial) __asm __volatile("movl %%gs:0, %0" : "=r" (oldtls));