mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-20 03:52:25 +03:00
Fix unused variable warning in python/types.c
This commit is contained in:
@@ -82,8 +82,11 @@ libxml_PyFileGet(PyObject *f) {
|
|||||||
FILE *res;
|
FILE *res;
|
||||||
const char *mode;
|
const char *mode;
|
||||||
|
|
||||||
int fd = PyObject_AsFileDescriptor(f);
|
#ifdef _WIN32
|
||||||
intptr_t w_fh = -1;
|
intptr_t w_fh = -1;
|
||||||
|
#else
|
||||||
|
int fd = PyObject_AsFileDescriptor(f);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
HMODULE hntdll = NULL;
|
HMODULE hntdll = NULL;
|
||||||
|
Reference in New Issue
Block a user