aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltable.c b/ltable.c
index 3c690c5f..3fb575a1 100644
--- a/ltable.c
+++ b/ltable.c
@@ -662,7 +662,8 @@ static Node *getfreepos (Table *t) {
662** put new key in its main position; otherwise (colliding node is in its main 662** put new key in its main position; otherwise (colliding node is in its main
663** position), new key goes to an empty position. 663** position), new key goes to an empty position.
664*/ 664*/
665void luaH_newkey (lua_State *L, Table *t, const TValue *key, TValue *value) { 665static void luaH_newkey (lua_State *L, Table *t, const TValue *key,
666 TValue *value) {
666 Node *mp; 667 Node *mp;
667 TValue aux; 668 TValue aux;
668 if (l_unlikely(ttisnil(key))) 669 if (l_unlikely(ttisnil(key)))