Re: [PATCH -mm]signals-clear-signal-tty-when-the-last-thread-exits.fix
From: Oleg Nesterov
Date: Wed Mar 24 2010 - 12:04:30 EST
On 03/24, Andrew Morton wrote:
>
> > - struct tty_struct *tty;
> > + struct tty_struct *tty = NULL; /* supress gcc warning */
>
> uninitialized_var() is a neater way.
Aha, indeed.
Will resend soon...
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/