From 2c68e66570206aa1496f9c76fcf2a1a0f550d692 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 3 Jun 2019 11:36:42 -0300 Subject: Details Several small changes from feedback on 5.4 alhpa rc1 (warnings, typos in the manual, and the like) --- ldebug.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index 6cd4e071..acaa653a 100644 --- a/ldebug.c +++ b/ldebug.c @@ -373,6 +373,7 @@ static int auxgetinfo (lua_State *L, const char *what, lua_Debug *ar, ar->ftransfer = ci->u2.transferinfo.ftransfer; ar->ntransfer = ci->u2.transferinfo.ntransfer; } + break; } case 'L': case 'f': /* handled by lua_getinfo */ @@ -525,8 +526,8 @@ static const char *gxf (const Proto *p, int pc, Instruction i, int isup) { } - const char *getobjname (const Proto *p, int lastpc, int reg, - const char **name) { +static const char *getobjname (const Proto *p, int lastpc, int reg, + const char **name) { int pc; *name = luaF_getlocalname(p, reg + 1, lastpc); if (*name) /* is a local? */ -- cgit v1.2.3-55-g6feb