From: Jarkko Hietaniemi Date: Sat, 16 Jun 2001 23:12:19 +0000 (+0000) Subject: -Wall cleanup. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=05c1ce25c94bdb086f7e96123df0134d05931273;p=p5sagit%2Fp5-mst-13.2.git -Wall cleanup. p4raw-id: //depot/perl@10652 --- diff --git a/ext/Thread/Thread.xs b/ext/Thread/Thread.xs index 6cdc081..499a312 100644 --- a/ext/Thread/Thread.xs +++ b/ext/Thread/Thread.xs @@ -81,15 +81,12 @@ threadstart(void *arg) return 0; #else Thread thr = (Thread) arg; - LOGOP myop; dSP; I32 oldmark = TOPMARK; - I32 oldscope = PL_scopestack_ix; I32 retval; SV *sv; AV *av; - int i, ret; - dJMPENV; + int i; #if defined(MULTIPLICITY) PERL_SET_INTERP(thr->interp); @@ -150,7 +147,6 @@ threadstart(void *arg) FREETMPS; LEAVE; - finishoff: #if 0 /* removed for debug */ SvREFCNT_dec(PL_curstack); @@ -345,7 +341,6 @@ static Signal_t handle_thread_signal (int sig); static Signal_t handle_thread_signal(int sig) { - dTHXo; unsigned char c = (unsigned char) sig; /* * We're not really allowed to call fprintf in a signal handler @@ -499,7 +494,7 @@ void DESTROY(t) SV * t PPCODE: - PUSHs(&PL_sv_yes); + PUSHs(t ? &PL_sv_yes : &PL_sv_no); void yield()