]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r357340:
authorDimitry Andric <dim@FreeBSD.org>
Tue, 4 Feb 2020 19:46:29 +0000 (19:46 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Tue, 4 Feb 2020 19:46:29 +0000 (19:46 +0000)
commitd372219dcd930afd84e43ac7f27293923a2989d5
tree486360fabf6c9939932a394808e16f5c8ed443e1
parente76d0709dfac8ab3b4faaa7de09c66d03ab666e0
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.
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c