Re: write-only variables in src/sys/ - possible bugs

From: Luigi Rizzo <rizzo_at_iet.unipi.it>
Date: Mon, 2 Feb 2009 22:03:45 +0100
On Mon, Feb 02, 2009 at 08:42:32PM +0100, Christoph Mallon wrote:
> Hi,
> 
> I compiled a list of all local variables in src/sys/ (r188000), which 
> are only written to, but never read. This is more than the GCC warning, 

interesting list, thanks.
Also, 700 entries is not a bad result considering the size
of the codebase and the age of parts of it (i am pretty sure
there is a lot of code 15+ years old which received little
if any mainteinance or use in the past decade).
(and i have nothing against old code except that compilers,
coding practices and the amount of peer review have improved
a lot over time, and so -- with some exceptions -- it is
easier to prevent some of these issues with more recent code).

cheers
luigi
Received on Mon Feb 02 2009 - 20:14:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:41 UTC