◐ Shell
clean mode source ↗

Fix unused functions warnings in instrumentation.c. by benjaminp · Pull Request #103515 · python/cpython

```
clang -c -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall    -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden  -I../cpython/Include/internal -IObjects -IInclude -IPython -I. -I../cpython/Include    -DPy_BUILD_CORE -o Python/instrumentation.o ../cpython/Python/instrumentation.c
../cpython/Python/instrumentation.c:129:1: warning: unused function 'monitors_equals' [-Wunused-function]
monitors_equals(_Py_Monitors a, _Py_Monitors b)
^
../cpython/Python/instrumentation.c:150:1: warning: unused function 'monitors_and' [-Wunused-function]
monitors_and(_Py_Monitors a, _Py_Monitors b)
^
2 warnings generated.
```

@benjaminp benjaminp deleted the monitors-unused-functions branch

April 13, 2023 18:01

carljm added a commit to carljm/cpython that referenced this pull request

Apr 14, 2023

carljm added a commit to carljm/cpython that referenced this pull request

Apr 14, 2023