WHY: See host_http_test_server_stop; changing only this implementation to a * pointer-to-const parameter would make it incompatible with host_http_ops_t. */ cppcheck-suppress constParameterCallback
| 704 | * pointer-to-const parameter would make it incompatible with host_http_ops_t. */ |
| 705 | // cppcheck-suppress constParameterCallback |
| 706 | static bool host_http_test_server_free(void *opaque, cbm_http_server_t *server) { |
| 707 | host_http_reconcile_test_context_t *context = opaque; |
| 708 | if (server) { |
| 709 | context->server_frees++; |
| 710 | } |
| 711 | return !server || context->server_frees > context->server_free_failures; |
| 712 | } |
| 713 | |
| 714 | static int host_http_test_thread_start(void *opaque, cbm_thread_t *thread, void *(*entry)(void *), |
| 715 | void *entry_context) { |
nothing calls this directly
no outgoing calls
no test coverage detected