summaryrefslogtreecommitdiffstats
path: root/syslog.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-06-15 21:38:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-06-15 21:38:34 -0700
commit75e89c5bcb659dd2b0cf0888b4e3b165f63376cc (patch)
tree1f3860c75db0c4e9a3a3e3355855377cbe076e73 /syslog.c
parentdc762ad28b50ea100cd21476528e658ea62aaa8d (diff)
downloadtxr-75e89c5bcb659dd2b0cf0888b4e3b165f63376cc.tar.gz
txr-75e89c5bcb659dd2b0cf0888b4e3b165f63376cc.tar.bz2
txr-75e89c5bcb659dd2b0cf0888b4e3b165f63376cc.zip
Bogus gc marking code in syslog module.
* syslog.c (syslog_mark): Remove incorrect stray code, which passes a pointer to a non-gc-object to the gc_mark function. This code was left behind in the change which introduced struct syslog_strm, git hash e44c113ee17c7cf15e8b1891f4d51ec03b16bc24 "Deriving streams from the same base", July 29, 2015.
Diffstat (limited to 'syslog.c')
-rw-r--r--syslog.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/syslog.c b/syslog.c
index 044649d3..85789e70 100644
--- a/syslog.c
+++ b/syslog.c
@@ -136,8 +136,6 @@ static void syslog_mark(val stream)
strm_base_mark(&s->a);
gc_mark(s->prio);
gc_mark(s->strstream);
- val stuff = coerce(val, stream->co.handle);
- gc_mark(stuff);
}
static val syslog_put_string(val stream, val str)