Re: AbiWord on Linux/Alpha


Subject: Re: AbiWord on Linux/Alpha
From: Kevin Vajk (kvajk@ricochet.net)
Date: Tue Feb 08 2000 - 22:05:02 CST


On Tue, 8 Feb 2000 abnay@altavista.net wrote:

> How about just taking out the declarations
> of variables not used? Instead of shutting
> up the compiler, why can't clean code be
> written?

The warnings I see are from unused function parameters, which
are a little different in my mind than unused variables in
functions.

And unused parameters are not necessarily unclean code. In
many cases, they are useful for OO programming; you pass
an object's method all the data it might need, not knowing
that this particular object's method doesn't need all of it.

> I get a bunch of "missing initializer"
> warnings for the structures in expat package.

Which is a different matter from an unused parameter; I agree
with you that this isn't nice, and ought to be fixed.

Caveat: I don't count as an "abiword developer", I'm just a
guy who reads the list.

- Kevin Vajk
  <kvajk@ricochet.net>



This archive was generated by hypermail 2b25 : Tue Feb 08 2000 - 22:06:40 CST