diff options
author | Raphaël Hertzog <hertzog@debian.org> | 2015-08-25 21:55:54 +0200 |
---|---|---|
committer | Raphaël Hertzog <hertzog@debian.org> | 2015-08-25 21:55:54 +0200 |
commit | 7300193becde71a344c8ac0973dc290fa24d800d (patch) | |
tree | 6490c364e7764294c209e536d42f3d31d23ebc0d /python/libxml.c | |
parent | 3871a83a5f0aebd8c00879eab14fe901c93dbfcf (diff) | |
download | libxml2-7300193becde71a344c8ac0973dc290fa24d800d.tar.gz |
Imported Upstream version 2.9.1+dfsg1
Diffstat (limited to 'python/libxml.c')
-rw-r--r-- | python/libxml.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/libxml.c b/python/libxml.c index 30b71f3..03cfb9f 100644 --- a/python/libxml.c +++ b/python/libxml.c @@ -296,7 +296,7 @@ xmlPythonFileReadRaw (void * context, char * buffer, int len) { #ifdef PyUnicode_Check } else if PyUnicode_Check (ret) { #if PY_VERSION_HEX >= 0x03030000 - Py_ssize_t size; + size_t size; const char *tmp; /* tmp doesn't need to be deallocated */ @@ -361,7 +361,7 @@ xmlPythonFileRead (void * context, char * buffer, int len) { #ifdef PyUnicode_Check } else if PyUnicode_Check (ret) { #if PY_VERSION_HEX >= 0x03030000 - Py_ssize_t size; + size_t size; const char *tmp; /* tmp doesn't need to be deallocated */ @@ -2683,7 +2683,6 @@ libxml_last(ATTRIBUTE_UNUSED PyObject * self, PyObject * args) xmlAttrPtr attr = (xmlAttrPtr) cur; res = attr->last; - break; } default: res = NULL; |