diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-05-28 13:43:14 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-05-28 13:43:14 -0700 |
commit | 3692b3b96af9159368a7bfe63798bb67ff90367f (patch) | |
tree | b4a47044ac2290af45edb7e9554629b063f5246e /gzio.c | |
parent | 549d997bab774883d5521dddf71b846815a33ee8 (diff) | |
download | txr-3692b3b96af9159368a7bfe63798bb67ff90367f.tar.gz txr-3692b3b96af9159368a7bfe63798bb67ff90367f.tar.bz2 txr-3692b3b96af9159368a7bfe63798bb67ff90367f.zip |
gzio: remove unused variables.
* gzio.c (gzio_stream_print, gzio_get_prop): Remove unused locals.
Diffstat (limited to 'gzio.c')
-rw-r--r-- | gzio.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -66,7 +66,6 @@ struct cobj_class *gzio_stream_cls; static void gzio_stream_print(val stream, val out, val pretty, struct strm_ctx *ctx) { - struct gzio_handle *h = coerce(struct gzio_handle *, stream->co.handle); struct strm_ops *ops = coerce(struct strm_ops *, stream->co.ops); val name = static_str(ops->name); val descr = ops->get_prop(stream, name_k); @@ -399,7 +398,6 @@ static val gzio_get_prop(val stream, val ind) if (ind == name_k) { struct strm_ops *ops = coerce(struct strm_ops *, stream->co.ops); - val name = static_str(ops->name); return h->descr; } else if (ind == byte_oriented_k) { return h->is_byte_oriented ? t : nil; |