Messages in this thread | | | Date | Tue, 28 Jun 2005 02:26:04 -0700 (PDT) | Subject | Re: variable used before it is set | From | "David S. Miller" <> |
| |
From: "d binderman" <dcb314@hotmail.com> Date: Tue, 28 Jun 2005 09:16:56 +0000
> net/bridge/netfilter/ebt_log.c(91): remark #592: variable "u" is used before > its value is set > printk(" IP tos=0x%02X, IP proto=%d", u.iph.tos, > ^ > I agree with the compiler. Suggest code rework.
I added this bug, I'll fix it. It should use iph->tos instead, and the entire 'u' array on the local stack removed since there are then no more users of it. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |