| 629 | } |
| 630 | |
| 631 | static struct line_log_data *line_log_data_copy_one(struct line_log_data *r) |
| 632 | { |
| 633 | struct line_log_data *ret = xmalloc(sizeof(*ret)); |
| 634 | |
| 635 | assert(r); |
| 636 | line_log_data_init(ret); |
| 637 | range_set_copy(&ret->ranges, &r->ranges); |
| 638 | |
| 639 | ret->path = xstrdup(r->path); |
| 640 | |
| 641 | return ret; |
| 642 | } |
| 643 | |
| 644 | static struct line_log_data * |
| 645 | line_log_data_copy(struct line_log_data *r) |
no test coverage detected