]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r357340:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 4 Feb 2020 19:46:29 +0000 (19:46 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 4 Feb 2020 19:46:29 +0000 (19:46 +0000)
commit7bf4b89c8e3dec0c0ba053c56a6fce7b035fef25
treedaab58583b2aa380e8c27d78fa27dcb6e0c1f4a4
parent65a88ae57356ea49065b3aa2c62ec4d043233a34
MFC r357340:

Merge r357339 from the clang1000-import branch:

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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@357523 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c