diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2007-03-06 21:55:44 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2007-03-06 21:55:44 +0000 |
commit | f928d2b27fce6b225d7325702226f159c3014b66 (patch) | |
tree | 34661964e0fe7fc9a226bcfd9cf1102be1a4c5c2 /libvirt_wrap.h | |
parent | bffcc4f8a22e28b55b18ef434ba2d860e4d4389b (diff) | |
download | libvirt-python-v6-f928d2b27fce6b225d7325702226f159c3014b66.tar.gz libvirt-python-v6-f928d2b27fce6b225d7325702226f159c3014b66.tar.xz libvirt-python-v6-f928d2b27fce6b225d7325702226f159c3014b66.zip |
Fixed up numerous compiler warnings
Diffstat (limited to 'libvirt_wrap.h')
-rw-r--r-- | libvirt_wrap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt_wrap.h b/libvirt_wrap.h index 8bcfdb3..547dc6d 100644 --- a/libvirt_wrap.h +++ b/libvirt_wrap.h @@ -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(); |