Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3c29602

Browse files
committed
_Py_GetObjects(): GCC suggests to add () around && within || for some
code only compiled in debug mode, and I dutifully comply.
1 parent 0765976 commit 3c29602

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ _Py_GetObjects(PyObject *self, PyObject *args)
14101410
return NULL;
14111411
for (i = 0; (n == 0 || i < n) && op != &refchain; i++) {
14121412
while (op == self || op == args || op == res || op == t ||
1413-
t != NULL && op->ob_type != (PyTypeObject *) t) {
1413+
(t != NULL && op->ob_type != (PyTypeObject *) t)) {
14141414
op = op->_ob_next;
14151415
if (op == &refchain)
14161416
return res;

0 commit comments

Comments
 (0)