| 148 | } |
| 149 | |
| 150 | static int has_name(char **names, const char *name) |
| 151 | { |
| 152 | while (*names) { |
| 153 | if (!strcmp(*names, name)) |
| 154 | return 1; |
| 155 | names++; |
| 156 | } |
| 157 | return 0; |
| 158 | } |
| 159 | |
| 160 | /* Close and free the stack */ |
| 161 | void reftable_stack_destroy(struct reftable_stack *st) |
no outgoing calls
no test coverage detected