Pick the right no-store error: a NULL project means the argument was missing * (clearer message); a non-NULL project that didn't resolve means it's * unknown/unindexed (list the available ones). */
| 1208 | * (clearer message); a non-NULL project that didn't resolve means it's |
| 1209 | * unknown/unindexed (list the available ones). */ |
| 1210 | static char *build_no_store_error(const char *project) { |
| 1211 | return project ? build_project_list_error("project not found or not indexed") |
| 1212 | : build_missing_project_error(); |
| 1213 | } |
| 1214 | |
| 1215 | /* Bail with the right error when no store is available. */ |
| 1216 | #define REQUIRE_STORE(store, project) \ |
no test coverage detected