info = get_ccan_line_info(f);
struct pp_conditions *prev = NULL;
- for (i = 0; i < f->num_lines; i++) {
+ for (i = 0; f->lines[i]; i++) {
if (info[i].cond && info[i].cond != prev) {
num += add_options(opts, info[i].cond);
prev = info[i].cond;
}
static void do_reduce_features(struct manifest *m,
- unsigned int *timeleft, struct score *score)
+ unsigned int *timeleft UNNEEDED,
+ struct score *score)
{
struct htable_option *options_used, *options_avail, *options;
struct htable_option_iter i;
err(1, "Creating reduced-features/config.h");
if (!write_all(fd, hdr, strlen(hdr)))
err(1, "Writing reduced-features/config.h");
+ htable_option_free(options);
close(fd);
features_were_reduced = true;
}