mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Make gcc -Wall happy
This commit is contained in:
parent
472c04f18f
commit
da9c2710c7
5 changed files with 6 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue