diff options
| author | Brett Cannon <bcannon@gmail.com> | 2004-12-07 00:25:35 +0000 |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2004-12-07 00:25:35 +0000 |
| commit | a1fb05cfcf545d01bddd5df9567018203f288a25 (patch) | |
| tree | 24409846a13b694ed053e7dac60791dfc86b5c3d /Python/bltinmodule.c | |
| parent | 0b016c9ae4d13c808e4c97ae0f868dad3fc49d91 (diff) | |
| download | cpython-a1fb05cfcf545d01bddd5df9567018203f288a25.tar.gz | |
Put parentheses around the assignment in the 'while' loop conditional
expression in min_max() to shut gcc up.
Diffstat (limited to 'Python/bltinmodule.c')
| -rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index e189952b49..33b5ca5e46 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -1139,7 +1139,7 @@ min_max(PyObject *args, PyObject *kwds, int op) maxitem = NULL; /* the result */ maxval = NULL; /* the value associated with the result */ - while (item = PyIter_Next(it)) { + while (( item = PyIter_Next(it) )) { /* get the value from the key function */ if (keyfunc != NULL) { val = PyObject_CallFunctionObjArgs(keyfunc, item, NULL); |
