summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 0df85323..3686cd32 100644
--- a/gc.c
+++ b/gc.c
@@ -92,6 +92,7 @@ val break_obj;
val prot1(val *loc)
{
assert (top < prot_stack_limit);
+ assert (loc != 0);
*top++ = loc;
return nil; /* for use in macros */
}