reduce: fix build, adapt settings.
This commit is contained in:
parent
b1f4bd7504
commit
a26abfb8e4
|
@ -755,7 +755,7 @@ int main(int argc, char *argv[])
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
// when "style" is enabled, also enable "warning", "performance" and "portability"
|
// when "style" is enabled, also enable "warning", "performance" and "portability"
|
||||||
if (settings.isEnabled("style")) {
|
if (settings.isEnabled(Settings::STYLE)) {
|
||||||
settings.addEnabled("warning");
|
settings.addEnabled("warning");
|
||||||
settings.addEnabled("performance");
|
settings.addEnabled("performance");
|
||||||
settings.addEnabled("portability");
|
settings.addEnabled("portability");
|
||||||
|
|
Loading…
Reference in New Issue