Page MenuHomeFreeBSD

bsnmp: Fix operator precedence in error check in table_check_response
ClosedPublic

Authored by jhibbits on Nov 17 2019, 5:00 AM.

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.