mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-13 01:30:30 +00:00
Deleted #if 0ed-out code
This commit is contained in:
parent
393613ea6e
commit
529d202f49
@ -390,14 +390,7 @@ GCproto *lj_bcread_proto(LexState *ls)
|
|||||||
|
|
||||||
#ifndef LUAJIT_DISABLE_COMPRESS
|
#ifndef LUAJIT_DISABLE_COMPRESS
|
||||||
typedef MSize (*lj_decompressor)(char const *src, MSize srclen, char *dst, MSize dstlen);
|
typedef MSize (*lj_decompressor)(char const *src, MSize srclen, char *dst, MSize dstlen);
|
||||||
#if 0
|
|
||||||
static char const *null_reader(lua_State *_ignored1, void *_ignored2, size_t *size)
|
|
||||||
{
|
|
||||||
(void)_ignored1;
|
|
||||||
(void)_ignored2;
|
|
||||||
return (char const *)(*size = 0);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
static LJ_AINLINE unsigned int lj_lzf_decompress(char const *src, MSize srclen, char *dst, MSize dstlen)
|
static LJ_AINLINE unsigned int lj_lzf_decompress(char const *src, MSize srclen, char *dst, MSize dstlen)
|
||||||
{
|
{
|
||||||
lua_assert(srclen <= UINT_MAX);
|
lua_assert(srclen <= UINT_MAX);
|
||||||
|
Loading…
Reference in New Issue
Block a user