Fix unused functions warnings in instrumentation.c.#103515
Conversation
``` 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. ```
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot wasm32-emscripten node (pthreads) 3.x has failed when building commit 7b95d23. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/1050/builds/1729 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Tests result: FAILURE == 339 tests OK. 10 slowest tests:
1 test failed: 94 tests skipped: Total duration: 24 min 54 sec Click to see traceback logsTraceback (most recent call last):
File "/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-pthreads/build/Lib/test/test_fileio.py", line 274, in wrapper
self.assertEqual(e.errno, errno.EBADF)
AssertionError: 28 != 8
Traceback (most recent call last):
File "/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-pthreads/build/Lib/test/test_fileio.py", line 272, in wrapper
func(self, f)
File "/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-pthreads/build/Lib/test/test_fileio.py", line 302, in testErrnoOnClosedTruncate
f.truncate(0)
OSError: [Errno 28] Invalid argument
|
Sorry, something went wrong.
* main: pythongh-103532: Remove TKINTER_PROTECT_LOADTK code (pythonGH-103535) pythongh-103180: Add CI timeouts to all GitHub Actions jobs (python#103437) Remove double space in import error message (python#103458) ipaddress: Remove non-existent ip_str param from docstring (python#103461) Fix syntax typo in isolating extensions doc (python#103516) pythongh-103406: Modernize pos-only arguments usage in `test_signature` (python#103407) Proofread howto/perf_profiling.rst (python#103530) Fix unused functions warnings in instrumentation.c (pythonGH-103515)
* superopt: fix incompatible types update generated cases don't unnecessarily re-find args in error case Apply suggestions from code review pythongh-103532: Remove TKINTER_PROTECT_LOADTK code (pythonGH-103535) pythongh-103180: Add CI timeouts to all GitHub Actions jobs (python#103437) Remove double space in import error message (python#103458) ipaddress: Remove non-existent ip_str param from docstring (python#103461) Fix syntax typo in isolating extensions doc (python#103516) pythongh-103406: Modernize pos-only arguments usage in `test_signature` (python#103407) Proofread howto/perf_profiling.rst (python#103530) Fix unused functions warnings in instrumentation.c (pythonGH-103515)
Copy link Copy MarkdownSorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.