Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2004 07:01:10 +1100
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        Mike Makonnen <mtm@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libthr/thread thr_find_thread.c
Message-ID:  <20040326200110.GT56509@cirb503493.alcatel.com.au>
In-Reply-To: <200403261445.i2QEjZH1099282@repoman.freebsd.org>
References:  <200403261445.i2QEjZH1099282@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 26, 2004 at 06:45:35AM -0800, Mike Makonnen wrote:
>  Modified files:
>    lib/libthr/thread    thr_find_thread.c 
>  Log:
>  o Initialize a local variable before referencing it. This was not
>    the cause of any bugs because it is *always* indirectly set
>    in the for...loop, but better to be explicit about it.

If this wasn't a real bug but just an incorrect gcc "used before set"
warning, please say so.  The first sentence above implies there was
a real bug.

Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040326200110.GT56509>