From d093136a39864bad7bb97b30d0244959d815ced1 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 3 Mar 2021 23:00:12 +0100 Subject: Fixed unused argument warning in readk --- stream.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stream.c b/stream.c index 2c8f2ed..6e99cde 100644 --- a/stream.c +++ b/stream.c @@ -208,12 +208,13 @@ static int until(struct buffer * b, const char * pattern, int pattern_length) /// Continuation function and core implementation of the reading operation from a stream. /// \param L Lua state running reading operation -/// \param status TODO +/// \param status Unused /// \param ctx Address of the Stream that is being read /// \param Number of the results pushed to the stack int stream_readk(lua_State * L, int status, lua_KContext ctx) { struct stream * s = lua_touserdata(L, 1); + (void) status; for (; ctx <= lua_gettop(L); ++ctx) { -- cgit v1.1