Re: netbsd-11 kernel build failure

[email protected] (Michael van Elst)
Newsgroups gmane.os.netbsd.current
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.