summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib.c b/lib.c
index ab1447fa..57f340c0 100644
--- a/lib.c
+++ b/lib.c
@@ -582,8 +582,8 @@ obj_t *consp(obj_t *obj)
if (!obj) {
return nil;
} else {
- type_t type = type(obj);
- return (type == CONS || type == LCONS) ? t : nil;
+ type_t ty = type(obj);
+ return (ty == CONS || ty == LCONS) ? t : nil;
}
}