Re: [PATCH] Fix compilation warnings in dquot.c of 2.2.14pre8

Alexander Viro (viro@math.psu.edu)
Thu, 25 Nov 1999 17:43:44 -0500 (EST)


On Thu, 25 Nov 1999, Daniel Roesen wrote:

> Hi!
>
> Just a cleanup patch. Fixes two warnings when compiling dquot.c in 2.2.14pre8.
[snip]
> @@ -539,7 +539,7 @@
> struct dquot *get_empty_dquot(void)
> {
> struct dquot *dquot;
> - int count;
> + int count=0;

Hmm... I have a bad feeling about that. I don't have the thing at hands
(didn't follow 2.2 for a while), but 99 times of 100 "stupid gcc
complaining about uninitialized variables" actually has a good reason for
such complaints. IOW, such change is _not_ a trivial cleanup. It may be
correct fix, but it may be turning random bug into deterministic one _and_
removing a hint that something may be amiss here.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/