From: John Hughes Date: Tue, 21 May 2002 11:24:18 +0000 (+0000) Subject: fix warning will POLL_HACK X-Git-Tag: v4.5.18~981 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d870b3c31a0139b335a66a829169bacc74624c44;p=strace fix warning will POLL_HACK --- diff --git a/ChangeLog b/ChangeLog index 0edbec51..3ff34663 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-05-21 John Hughes + + * strace.c: Fix warning if POLL_HACK is used. + 2002-05-17 John Hughes * svr4/ioctlent.sh: Some defines on UW come with too many spaces. diff --git a/strace.c b/strace.c index f88525db..9bd708af 100644 --- a/strace.c +++ b/strace.c @@ -1412,7 +1412,7 @@ static int trace() { #ifdef POLL_HACK - struct tcb *in_syscall; + struct tcb *in_syscall = NULL; #endif struct tcb *tcp; int pfd;