1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-11-09 04:24:18 +03:00

Fixed up numerous compiler warnings

This commit is contained in:
Daniel P. Berrange
2007-03-06 21:55:44 +00:00
parent 955f12037e
commit d6db609d74
17 changed files with 52 additions and 35 deletions

View File

@@ -90,7 +90,7 @@ PyObject * libvirt_virDomainPtrWrap(virDomainPtr node);
#define LIBVIRT_ENSURE_THREAD_STATE \
LIBVIRT_STMT_START { \
PyGILState_STATE _save; \
PyGILState_STATE _save = PyGILState_UNLOCKED; \
if (PyEval_ThreadsInitialized()) \
_save = PyGILState_Ensure();