mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-18 16:08:59 +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;
|
||||
const char *mode;
|
||||
|
||||
int fd = PyObject_AsFileDescriptor(f);
|
||||
#ifdef _WIN32
|
||||
intptr_t w_fh = -1;
|
||||
#else
|
||||
int fd = PyObject_AsFileDescriptor(f);
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
HMODULE hntdll = NULL;
|
||||
|
Reference in New Issue
Block a user