| 3405 | } |
| 3406 | |
| 3407 | static struct patch *in_fn_table(struct apply_state *state, const char *name) |
| 3408 | { |
| 3409 | struct string_list_item *item; |
| 3410 | |
| 3411 | if (!name) |
| 3412 | return NULL; |
| 3413 | |
| 3414 | item = string_list_lookup(&state->fn_table, name); |
| 3415 | if (item) |
| 3416 | return (struct patch *)item->util; |
| 3417 | |
| 3418 | return NULL; |
| 3419 | } |
| 3420 | |
| 3421 | /* |
| 3422 | * item->util in the filename table records the status of the path. |
no test coverage detected