diff options
| author | H. Peter Anvin <hpa@linux.intel.com> | 2010-07-02 11:19:39 -0700 |
|---|---|---|
| committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-07-02 11:19:39 -0700 |
| commit | b6642907cee0174344b2944eefaf459da23e2541 (patch) | |
| tree | 8bdb84ca9a8dd7090cb4f007b0d6a01e95a4da4f /com32/lua/src/liolib.c | |
| parent | d1e65715467febf68f72b908cf8d43b45548549d (diff) | |
| download | syslinux-4.01.tar.gz | |
lua: quiet warnings about unused variables and functionssyslinux-4.01
Quiet gcc warnings about unused variables and functions -- things that
are not used in the Syslinux environment at this time.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/lua/src/liolib.c')
| -rw-r--r-- | com32/lua/src/liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/lua/src/liolib.c b/com32/lua/src/liolib.c index def185d6..d979f45f 100644 --- a/com32/lua/src/liolib.c +++ b/com32/lua/src/liolib.c @@ -312,7 +312,7 @@ static int read_line (lua_State *L, FILE *f) { } } - +#if 0 /* Not used */ static int read_chars (lua_State *L, FILE *f, size_t n) { size_t rlen; /* how much to read */ size_t nr; /* number of chars actually read */ @@ -329,7 +329,7 @@ static int read_chars (lua_State *L, FILE *f, size_t n) { luaL_pushresult(&b); /* close buffer */ return (n == 0 || lua_objlen(L, -1) > 0); } - +#endif #if 0 static int g_read (lua_State *L, FILE *f, int first) { |
