diff options
| author | Thijs <thijs@thijsschreijer.nl> | 2025-02-06 20:57:34 +0100 |
|---|---|---|
| committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2025-02-06 21:03:47 +0100 |
| commit | 3c1fdbcc844a55f94dde41591f487ded73eab012 (patch) | |
| tree | 677ea80ae3ce36fca3ae43af00fbb98829206dbb | |
| parent | 9160d1211f7ff51d08a039239b744da684ae70c2 (diff) | |
| download | luasystem-3c1fdbcc844a55f94dde41591f487ded73eab012.tar.gz luasystem-3c1fdbcc844a55f94dde41591f487ded73eab012.tar.bz2 luasystem-3c1fdbcc844a55f94dde41591f487ded73eab012.zip | |
fix(terminal): warning unused variable
| -rw-r--r-- | src/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | ||
