diff --git a/Modules/_remote_debugging/subprocess.c b/Modules/_remote_debugging/subprocess.c index 1b16dd8343f2a5b..9896ece481e9270 100644 --- a/Modules/_remote_debugging/subprocess.c +++ b/Modules/_remote_debugging/subprocess.c @@ -96,7 +96,7 @@ pid_array_contains(pid_array_t *arr, pid_t pid) /* Find child PIDs using BFS traversal of the pid->ppid mapping. * all_pids and ppids must have the same count (parallel arrays). * Returns 0 on success, -1 on error. */ -static int +UNUSED static int find_children_bfs(pid_t target_pid, int recursive, pid_t *all_pids, pid_t *ppids, size_t pid_count, pid_array_t *result) diff --git a/Python/remote_debug.h b/Python/remote_debug.h index 6c089a834dcd40d..f35e7128c35a383 100644 --- a/Python/remote_debug.h +++ b/Python/remote_debug.h @@ -161,7 +161,7 @@ _Py_RemoteDebug_ReadRemoteMemory(proc_handle_t *handle, uintptr_t remote_address typedef int (*section_validator_t)(proc_handle_t *handle, uintptr_t address); // Validate that a candidate address starts with _Py_Debug_Cookie. -static int +UNUSED static int _Py_RemoteDebug_ValidatePyRuntimeCookie(proc_handle_t *handle, uintptr_t address) { if (address == 0) {