HomeFreeBSD

bsnmp: Fix operator precedence in error check in table_check_response

Description

bsnmp: Fix operator precedence in error check in table_check_response

Summary:
The ?: operator has a lower precedence than == and &&, so the result will always
be recorded as true. Found by gcc8.

Reviewed by: ngie, ae
Differential Revision: https://reviews.freebsd.org/D22427

Details

Provenance
jhibbitsAuthored on Nov 18 2019, 11:23 PM
Parents
rG506f36402925: Add flua to the base system, install to /usr/libexec
Branches
Unknown
Tags
Unknown

Event Timeline