summaryrefslogtreecommitdiff
path: root/ext/io/console
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-10 10:44:21 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-10 16:06:11 +0900
commit2419b3dba6d86ea40a148f7547ff87b2074ca582 (patch)
tree4c8c68f9ce0fb7c4410da7c7a1ec4a4c73f23e16 /ext/io/console
parentf9c0fe77c0ef6c5da1d8454bf6be6841c984d606 (diff)
[ruby/io-console] Suppress an unused-variable warning
https://github.com/ruby/io-console/commit/ae5c72e481
Diffstat (limited to 'ext/io/console')
-rw-r--r--ext/io/console/console.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index b83fb67..7a8ab8a 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -190,6 +190,7 @@ set_rawmode(conmode *t, void *arg)
t->c_lflag |= ISIG|IEXTEN;
}
#endif
+ (void)r;
}
}