diff options
author | Aki <please@ignore.pl> | 2021-03-03 23:00:12 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-03-03 23:00:12 +0100 |
commit | d093136a39864bad7bb97b30d0244959d815ced1 (patch) | |
tree | 3c52ca8aed51f24a6bf4598fbb61bca38e55e33b | |
parent | 46bd6bac755297ad81fa925d6e4bdb69ad94d571 (diff) | |
download | plop-d093136a39864bad7bb97b30d0244959d815ced1.zip plop-d093136a39864bad7bb97b30d0244959d815ced1.tar.gz plop-d093136a39864bad7bb97b30d0244959d815ced1.tar.bz2 |
Fixed unused argument warning in readk
-rw-r--r-- | stream.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |