summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-03-03 23:00:12 +0100
committerAki <please@ignore.pl>2021-03-03 23:00:12 +0100
commitd093136a39864bad7bb97b30d0244959d815ced1 (patch)
tree3c52ca8aed51f24a6bf4598fbb61bca38e55e33b
parent46bd6bac755297ad81fa925d6e4bdb69ad94d571 (diff)
downloadplop-d093136a39864bad7bb97b30d0244959d815ced1.zip
plop-d093136a39864bad7bb97b30d0244959d815ced1.tar.gz
plop-d093136a39864bad7bb97b30d0244959d815ced1.tar.bz2
Fixed unused argument warning in readk
-rw-r--r--stream.c3
1 files changed, 2 insertions, 1 deletions
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)
{