summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/frameobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index 2814455..79757e9 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -307,7 +307,7 @@ locals_2_fast(f, clear)
return;
locals = f->f_locals;
map = f->f_code->co_varnames;
- if (locals == NULL || fast == NULL || f->f_code->co_nlocals == 0)
+ if (locals == NULL || f->f_code->co_nlocals == 0)
return;
if (!is_dictobject(locals) || !is_tupleobject(map))
return;