]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the following -Werror warning from clang 10.0.0 in bsnmpd:
authordim <dim@FreeBSD.org>
Fri, 31 Jan 2020 18:09:27 +0000 (18:09 +0000)
committerdim <dim@FreeBSD.org>
Fri, 31 Jan 2020 18:09:27 +0000 (18:09 +0000)
commit8f6c1bc4db9e40aa998a411e7c93632c72f613b8
tree466bba61836c6ddff94806247c2cd944ef6a7e59
parentea9580a01021a9c741c5493c7a78b7ef20c96e65
Fix the following -Werror warning from clang 10.0.0 in bsnmpd:

usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c:1661:4: error: misleading indentation; statement is not part of the previous 'else' [-Werror,-Wmisleading-indentation]
                        return (-1);
                        ^
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c:1658:5: note: previous statement is here
                } else
                  ^

The intent was to group the return statement with the previous syslog()
call.

MFC after: 3 days
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c