lint (unused definition)

This commit is contained in:
Roberto Ierusalimschy 2011-09-30 09:46:06 -03:00
parent 50cddefeeb
commit 9caf5b4f79
3 changed files with 3 additions and 13 deletions

View File

@ -1,5 +1,5 @@
/*
** $Id: llimits.h,v 1.90 2011/07/02 15:57:25 roberto Exp roberto $
** $Id: llimits.h,v 1.91 2011/09/13 17:39:23 roberto Exp roberto $
** Limits, basic types, and some other `installation-dependent' definitions
** See Copyright Notice in lua.h
*/
@ -30,7 +30,6 @@ typedef unsigned char lu_byte;
#define MAX_SIZET ((size_t)(~(size_t)0)-2)
#define MAX_LUMEM ((lu_mem)(~(lu_mem)0)-2)
#define MIN_LMEM ((l_mem)~((~(lu_mem)0)>>1))
#define MAX_INT (INT_MAX-2) /* maximum value of an int (-2 for safety) */

View File

@ -1,5 +1,5 @@
/*
** $Id: lstate.h,v 2.72 2011/06/02 19:31:40 roberto Exp roberto $
** $Id: lstate.h,v 2.73 2011/08/23 17:24:34 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@ -47,8 +47,6 @@ struct lua_longjmp; /* defined in ldo.c */
#define EXTRA_STACK 5
#define BASIC_CI_SIZE 8
#define BASIC_STACK_SIZE (2*LUA_MINSTACK)

View File

@ -1,5 +1,5 @@
/*
** $Id: ltable.c,v 2.63 2011/09/15 17:09:02 roberto Exp roberto $
** $Id: ltable.c,v 2.64 2011/09/24 21:12:01 roberto Exp roberto $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/
@ -64,13 +64,6 @@
#define hashpointer(t,p) hashmod(t, IntPoint(p))
/*
** number of ints inside a lua_Number
*/
#define numints cast_int(sizeof(lua_Number)/sizeof(int))
#define dummynode (&dummynode_)
#define isdummy(n) ((n) == dummynode)