##// END OF EJS Templates
cext: move variable declaration to the top of the block for C89 support...
Matt Harbison -
r45070:3122058d stable
parent child Browse files
Show More
@@ -153,11 +153,12 b' static const char *index_deref(indexObje'
153 153 {
154 154 if (self->inlined && pos > 0) {
155 155 if (self->offsets == NULL) {
156 Py_ssize_t ret;
156 157 self->offsets = PyMem_Malloc(self->raw_length *
157 158 sizeof(*self->offsets));
158 159 if (self->offsets == NULL)
159 160 return (const char *)PyErr_NoMemory();
160 Py_ssize_t ret = inline_scan(self, self->offsets);
161 ret = inline_scan(self, self->offsets);
161 162 if (ret == -1) {
162 163 return NULL;
163 164 };
General Comments 0
You need to be logged in to leave comments. Login now