build: re-enable -Wmisleading-indentation

This can catch mismatches between visual indication about
control flow and what the compiler actually does. Looks like
boost cleaned up its indentation since it was disabled in
7f38634080 ("dist/debian: Switch to g++-7/boost-1.63 on
Ubuntu 14.04/16.04"). It's unlikely to pop back since modern
compilers enable it by default.

Closes #9015
This commit is contained in:
Avi Kivity
2021-07-12 21:26:46 +03:00
committed by Nadav Har'El
parent 8fb4fe2f24
commit 058afbcee8

View File

@@ -1277,7 +1277,6 @@ warnings = [
'-Wno-return-stack-address',
'-Wno-missing-braces',
'-Wno-unused-lambda-capture',
'-Wno-misleading-indentation',
'-Wno-overflow',
'-Wno-noexcept-type',
'-Wno-nonnull-compare',