- for (size_t i = 0; i < cell.n_contents; i++)
- {
- const struct cell_contents *c = &cell.contents[i];
- footnotes = add_footnotes (c->footnotes, c->n_footnotes,
- footnotes, &allocated, &n);
- }
+ footnotes = add_footnotes (cell.footnotes, cell.n_footnotes,
+ footnotes, &allocated, &n);