mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 21:32:58 +00:00
76a8e30c15
Fix the following clang 4.0.0 warning in ngatm's snmp_atm.c: contrib/ngatm/snmp_atm/snmp_atm.c:173:6: error: logical not is only applied to the left hand side of this bitwise operator [-Werror,-Wlogical-not-parentheses] if (!ifmr.ifm_status & IFM_AVALID) { ^ ~ Obviously, the masking needs to be done before the logical not operation. Add parentheses to make it so. |
||
---|---|---|
.. | ||
atm_tree.def | ||
atm.h | ||
BEGEMOT-ATM.txt | ||
snmp_atm.3 | ||
snmp_atm.c | ||
snmp_atm.h |