]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the following -Werror warning from clang 10.0.0 in sconfig:
authorDimitry Andric <dim@FreeBSD.org>
Thu, 13 Feb 2020 18:37:17 +0000 (18:37 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Thu, 13 Feb 2020 18:37:17 +0000 (18:37 +0000)
commitdacf624d5f0c2c63e04a40224cd682e67e647aa2
tree1e2cf108b92cfe42c4affe42c057d162153c03e9
parent44e86fbdcf5a3e625095652a3d0ab99532e54eea
Fix the following -Werror warning from clang 10.0.0 in sconfig:

sbin/sconfig/sconfig.c:909:5: error: misleading indentation; statement is not part of the previous 'else' [-Werror,-Wmisleading-indentation]
                                exit (-1);
                                ^
sbin/sconfig/sconfig.c:907:6: note: previous statement is here
                        } else
                          ^

The intent was to group the exit() call with the previous fprintf()
call.

MFC after: 3 days
sbin/sconfig/sconfig.c