}
static void check_trailing_whitespace(struct manifest *m,
- bool keep,
unsigned int *timeleft,
struct score *score)
{
struct ccan_file *f;
unsigned int i;
+ /* We don't fail ccanlint for this. */
+ score->pass = true;
+
foreach_ptr(list, &m->c_files, &m->h_files) {
list_for_each(list, f, list) {
char **lines = get_ccan_file_lines(f);
}
}
if (!score->error) {
- score->pass = true;
score->score = score->total;
}
}
.key = "no_trailing_whitespace",
.name = "Module's source code has no trailing whitespace",
.check = check_trailing_whitespace,
- .needs = ""
+ .needs = "info_exists"
};