HomeFreeBSD

[ipfw] quieten maybe-uninitialized errors in ipfw when compiled under mips-gcc…

Description

[ipfw] quieten maybe-uninitialized errors in ipfw when compiled under mips-gcc-6.3.0.

This is mostly an exercise to set variables to NULL/0 when declared, but
one was ensuring a string variable was set before printing it.
We should never see "<unknown>" in a printed rule; if we do then this code
definitely has some bugs that need addressing.

Details

Provenance
adrianAuthored on
Parents
rS363172: [bc] Fix a "maybe uninitialized" compiler warning under mips-gcc-6.3.0.
Branches
Unknown
Tags
Unknown