Current-Users archive

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

Re: netbsd-11 kernel build failure



hauke%Espresso.Rhein-Neckar.DE@localhost (Hauke Fath) writes:

>/u/sources/netbsd-11/src/sys/dev/acpi/pckbc_acpi.c:242:22: error:=20
>'handle' may be used uninitialized [-Werror=3Dmaybe-uninitialized]


>I guess 'handle' should be initialized (with what?).


It gets initialized, the compiler is just not smart enough to see it.
Initializing it to ((ACPI_HANDLE)0) to set an invalid value is ok.



Home | Main Index | Thread Index | Old Index