Log why the index could not be built, and drop it. */
| 6044 | |
| 6045 | /* Log why the index could not be built, and drop it. */ |
| 6046 | static void *build_failed(cs_index_t *ix, const char *step, const char *reason, const char *path) { |
| 6047 | cbm_log_error("doc_links.cs.error", "step", step, "reason", reason, "file", path ? path : ""); |
| 6048 | cs_destroy(ix); |
| 6049 | return NULL; |
| 6050 | } |
| 6051 | |
| 6052 | /* The index's tables and the project files. false when memory ran out. */ |
| 6053 | static bool build_tables(cs_index_t *ix, const cbm_doclink_build_in_t *in) { |
no test coverage detected