| 19 | static char trail_log[1024]; |
| 20 | |
| 21 | static void capture_trail_log(const char *line) { |
| 22 | size_t used = strlen(trail_log); |
| 23 | if (used < sizeof(trail_log) - 1) { |
| 24 | snprintf(trail_log + used, sizeof(trail_log) - used, "%s\n", line); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | /* Helper: create a typical graph for search/traversal tests. |
| 29 | * |
nothing calls this directly
no outgoing calls
no test coverage detected