BIND 10 trac2726, updated. 9f797b9baa3972fc391a6bfbd2a6a9bae6fcf375 [2726] Reduce scope
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Jun 12 10:28:14 UTC 2013
The branch, trac2726 has been updated
via 9f797b9baa3972fc391a6bfbd2a6a9bae6fcf375 (commit)
from d0080895a3a34b3e6d02c38021700e7a02245afc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9f797b9baa3972fc391a6bfbd2a6a9bae6fcf375
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date: Wed Jun 12 12:27:58 2013 +0200
[2726] Reduce scope
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/python/pydnspp_common.cc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/python/pydnspp_common.cc b/src/lib/dns/python/pydnspp_common.cc
index e9d62e0..4250db7 100644
--- a/src/lib/dns/python/pydnspp_common.cc
+++ b/src/lib/dns/python/pydnspp_common.cc
@@ -56,9 +56,8 @@ PyObject* po_DNSMessageBADVERS;
int
readDataFromSequence(uint8_t *data, size_t len, PyObject* sequence) {
- PyObject* el = NULL;
for (size_t i = 0; i < len; i++) {
- el = PySequence_GetItem(sequence, i);
+ PyObject *el = PySequence_GetItem(sequence, i);
if (!el) {
PyErr_SetString(PyExc_TypeError,
"sequence too short");
More information about the bind10-changes
mailing list