[libxml2/ddkilzer/fix-double-colon-typos] Fix double colon typos in xmlBufferResize()
- From: David Kilzer <ddkilzer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2/ddkilzer/fix-double-colon-typos] Fix double colon typos in xmlBufferResize()
- Date: Wed, 25 May 2022 21:20:50 +0000 (UTC)
commit 461ef8ac77d898653799fcdbf471bfd04c173a6f
Author: David Kilzer <ddkilzer apple com>
Date: Wed May 25 14:19:10 2022 -0700
Fix double colon typos in xmlBufferResize()
Introduced in commit 6c283d83e.
tree.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tree.c b/tree.c
index 99eef30e..df17fa33 100644
--- a/tree.c
+++ b/tree.c
@@ -7519,7 +7519,7 @@ xmlBufferResize(xmlBufferPtr buf, unsigned int size)
}
break;
case XML_BUFFER_ALLOC_EXACT:
- newSize = (size > UINT_MAX - 10 ? UINT_MAX : size + 10);;
+ newSize = (size > UINT_MAX - 10 ? UINT_MAX : size + 10);
break;
case XML_BUFFER_ALLOC_HYBRID:
if (buf->use < BASE_BUFFER_SIZE)
@@ -7537,7 +7537,7 @@ xmlBufferResize(xmlBufferPtr buf, unsigned int size)
break;
default:
- newSize = (size > UINT_MAX - 10 ? UINT_MAX : size + 10);;
+ newSize = (size > UINT_MAX - 10 ? UINT_MAX : size + 10);
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]