build: fix some clang warnings

This commit is contained in:
Dirk-Jan C. Binnema
2022-05-17 22:42:17 +03:00
parent a46dab2aad
commit e835c7eea0
3 changed files with 4 additions and 3 deletions

View File

@ -45,6 +45,7 @@ extra_flags = [
'-Wformat-security',
'-Wformat=2',
'-Wstack-protector',
'-Wno-keyword-macro',
# '-Wshadow',
'-Wno-switch-enum',
'-Wno-#warnings']

View File

@ -37,7 +37,7 @@ table_header(Table& table, const MuConfig* opts)
(*table.begin()).format()
.font_style({FontStyle::bold})
.font_color({Color::blue});
.font_color(Color::blue);
}

View File

@ -416,8 +416,8 @@ cmd_info(const Mu::Store& store, const MuConfig* opts)
continue;
row.cells().at(0)->format().font_style({FontStyle::bold})
.font_color({Color::green});
row.cells().at(1)->format().font_color({Color::blue});
.font_color(Color::green);
row.cells().at(1)->format().font_color(Color::blue);
}
};