Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/npf/npfctl



On Wed, 31 Oct 2012, Martin Husemann wrote:

> Module Name:  src
> Committed By: martin
> Date:         Wed Oct 31 08:54:39 UTC 2012
>
> Modified Files:
>       src/usr.sbin/npf/npfctl: npfctl.c
>
> Log Message:
> gcc 4.1 is not smart enough to notice "arg" is only used when initialized
> correctly and produces a "might be used unintialized" warning.

how can it, when "&nct" is passed to external function ioctl() before
potentially looping back? the structure contents may have changed..

regards,
iain


Home | Main Index | Thread Index | Old Index