Fix variable shadowing

This commit is contained in:
Bruno Silvestre 2022-07-20 17:36:27 -03:00
parent afb2d44b0e
commit c9539bca86

View File

@ -690,7 +690,7 @@ static int meth_exportkeyingmaterial(lua_State *L)
const unsigned char *context = NULL;
if(!lua_isnoneornil(L, 4)) {
const unsigned char *context = (unsigned char *)luaL_checklstring(L, 4, &contextlen);
context = (unsigned char *)luaL_checklstring(L, 4, &contextlen);
}
/* temporary buffer memory-managed by Lua itself */