Kernel build fails with the error shown below:

[...]
--- all_subdir_ipfw ---
/usr/src/sys/modules/ipfw/../../netpfil/ipfw/ip_fw_table_algo.c:3818:6: error: 
variable
'error' is used uninitialized whenever 'if' condition is false
[-Werror,-Wsometimes-uninitialized] if (keylen == 4) { ^~~~~~~~~~~
/usr/src/sys/modules/ipfw/../../netpfil/ipfw/ip_fw_table_algo.c:3833:6: note:
uninitialized use occurs here if (error != 0)
            ^~~~~
/usr/src/sys/modules/ipfw/../../netpfil/ipfw/ip_fw_table_algo.c:3818:2: note: 
remove the
'if' if its condition is always true if (keylen == 4) {
        ^~~~~~~~~~~~~~~~~
/usr/src/sys/modules/ipfw/../../netpfil/ipfw/ip_fw_table_algo.c:3815:11: note: 
initialize
the variable 'error' to silence this warning int error;
                 ^
                  = 0
1 error generated.
*** [ip_fw_table_algo.o] Error code 1

make[4]: stopped in /usr/src/sys/modules/ipfw
1 error

make[4]: stopped in /usr/src/sys/modules/ipfw
*** [all_subdir_ipfw] Error code 2
[...]



Kind regards,

oh

Attachment: pgpOlKcNR7o9p.pgp
Description: OpenPGP digital signature

Reply via email to