summaryrefslogtreecommitdiffstats
path: root/Objects/frameobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 21:58:58 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-05 21:58:58 (GMT)
commitda9c2710c728407f47f34635a75647c56a9ec106 (patch)
treeb8248e8ba3432a2d4b4fc4034214a60b2b96cf9d /Objects/frameobject.c
parent472c04f18f54327433c13601b25c7ea2c7071e6b (diff)
downloadcpython-da9c2710c728407f47f34635a75647c56a9ec106.zip
cpython-da9c2710c728407f47f34635a75647c56a9ec106.tar.gz
cpython-da9c2710c728407f47f34635a75647c56a9ec106.tar.bz2
Make gcc -Wall happy
Diffstat (limited to 'Objects/frameobject.c')
-rw-r--r--Objects/frameobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index ae18331..9d80e1f 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -154,7 +154,7 @@ newframeobject(back, code, globals, locals, owner, nvalues, nblocks)
if ((back != NULL && !is_frameobject(back)) ||
code == NULL || !is_codeobject(code) ||
globals == NULL || !is_dictobject(globals) ||
- locals != NULL && !is_dictobject(locals) ||
+ (locals != NULL && !is_dictobject(locals)) ||
nvalues < 0 || nblocks < 0) {
err_badcall();
return NULL;