aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs <thijs@thijsschreijer.nl>2025-02-06 20:57:34 +0100
committerThijs Schreijer <thijs@thijsschreijer.nl>2025-02-06 21:03:47 +0100
commit3c1fdbcc844a55f94dde41591f487ded73eab012 (patch)
tree677ea80ae3ce36fca3ae43af00fbb98829206dbb
parent9160d1211f7ff51d08a039239b744da684ae70c2 (diff)
downloadluasystem-3c1fdbcc844a55f94dde41591f487ded73eab012.tar.gz
luasystem-3c1fdbcc844a55f94dde41591f487ded73eab012.tar.bz2
luasystem-3c1fdbcc844a55f94dde41591f487ded73eab012.zip
fix(terminal): warning unused variable
-rw-r--r--src/term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index 3a30d2b..8c2b87a 100644
--- a/src/term.c
+++ b/src/term.c
@@ -589,7 +589,7 @@ static int lst_tcsetattr(lua_State *L)
589{ 589{
590#ifndef _WIN32 590#ifndef _WIN32
591 struct termios t; 591 struct termios t;
592 int r, i; 592 int r;
593 int fd = get_console_handle(L); // first is the console handle 593 int fd = get_console_handle(L); // first is the console handle
594 int act = luaL_checkinteger(L, 2); // second is the action to take 594 int act = luaL_checkinteger(L, 2); // second is the action to take
595 595