summaryrefslogtreecommitdiffstats
path: root/gzio.c
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
commitc552f56aefca032aee55824bf17969040ae0060b (patch)
tree33e6a48a54b0c134ca0cbfe7501fc62d19f2d799 /gzio.c
parentf3c69b66279e228b6a852e127193c953fdd27951 (diff)
downloadtxr-c552f56aefca032aee55824bf17969040ae0060b.tar.gz
txr-c552f56aefca032aee55824bf17969040ae0060b.tar.bz2
txr-c552f56aefca032aee55824bf17969040ae0060b.zip
gzio: unused variable warning.
* gzio.c (gzio_set_prop): Remove unused ops variable.
Diffstat (limited to 'gzio.c')
-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;