mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-24 02:37:23 +08:00
* python/python.c (finalize_python): Cast unused PyGILState_Ensure
return value to void to avoid compiler warning.
This commit is contained in:
@ -1415,7 +1415,7 @@ finalize_python (void *ignore)
|
||||
Python interpreter, which we are about to destroy. It seems
|
||||
clearer to make the needed calls explicitly here than to create a
|
||||
cleanup and then mysteriously discard it. */
|
||||
PyGILState_Ensure ();
|
||||
(void) PyGILState_Ensure ();
|
||||
python_gdbarch = target_gdbarch ();
|
||||
python_language = current_language;
|
||||
|
||||
|
Reference in New Issue
Block a user