summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-05-31 01:57:32 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-05-31 01:57:32 -0700
commit104a35cf04f050873d407d5b2149c1efe2651a06 (patch)
tree33e6a48a54b0c134ca0cbfe7501fc62d19f2d799
parentd8a82b088b4b3816dc7e7b91bac149e34ea2c45b (diff)
downloadtxr-104a35cf04f050873d407d5b2149c1efe2651a06.tar.gz
txr-104a35cf04f050873d407d5b2149c1efe2651a06.tar.bz2
txr-104a35cf04f050873d407d5b2149c1efe2651a06.zip
gzio: unused variable warning.
* gzio.c (gzio_set_prop): Remove unused ops variable.
-rw-r--r--gzio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gzio.c b/gzio.c
index bbdc1d45..11991aa1 100644
--- a/gzio.c
+++ b/gzio.c
@@ -399,7 +399,6 @@ static val gzio_get_prop(val stream, val ind)
struct gzio_handle *h = coerce(struct gzio_handle *, stream->co.handle);
if (ind == name_k) {
- struct strm_ops *ops = coerce(struct strm_ops *, stream->co.ops);
return h->descr;
} else if (ind == byte_oriented_k) {
return h->is_byte_oriented ? t : nil;