build: fix some clang warnings
This commit is contained in:
@ -45,6 +45,7 @@ extra_flags = [
|
|||||||
'-Wformat-security',
|
'-Wformat-security',
|
||||||
'-Wformat=2',
|
'-Wformat=2',
|
||||||
'-Wstack-protector',
|
'-Wstack-protector',
|
||||||
|
'-Wno-keyword-macro',
|
||||||
# '-Wshadow',
|
# '-Wshadow',
|
||||||
'-Wno-switch-enum',
|
'-Wno-switch-enum',
|
||||||
'-Wno-#warnings']
|
'-Wno-#warnings']
|
||||||
|
|||||||
@ -37,7 +37,7 @@ table_header(Table& table, const MuConfig* opts)
|
|||||||
|
|
||||||
(*table.begin()).format()
|
(*table.begin()).format()
|
||||||
.font_style({FontStyle::bold})
|
.font_style({FontStyle::bold})
|
||||||
.font_color({Color::blue});
|
.font_color(Color::blue);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -416,8 +416,8 @@ cmd_info(const Mu::Store& store, const MuConfig* opts)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
row.cells().at(0)->format().font_style({FontStyle::bold})
|
row.cells().at(0)->format().font_style({FontStyle::bold})
|
||||||
.font_color({Color::green});
|
.font_color(Color::green);
|
||||||
row.cells().at(1)->format().font_color({Color::blue});
|
row.cells().at(1)->format().font_color(Color::blue);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user