From 9caf5b4f796879e16ccb2f6ebbc3887c604bc2f0 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 30 Sep 2011 09:46:06 -0300 Subject: [PATCH] lint (unused definition) --- llimits.h | 3 +-- lstate.h | 4 +--- ltable.c | 9 +-------- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/llimits.h b/llimits.h index 67f7df54..d9445501 100644 --- a/llimits.h +++ b/llimits.h @@ -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) */ diff --git a/lstate.h b/lstate.h index fb757373..b1538239 100644 --- a/lstate.h +++ b/lstate.h @@ -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) diff --git a/ltable.c b/ltable.c index f6b765d4..d348d87f 100644 --- a/ltable.c +++ b/ltable.c @@ -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)