Remove unused

This commit is contained in:
halx99 2021-10-12 13:12:44 +08:00
parent dfd93f6a10
commit cc1d09d04d
1 changed files with 1 additions and 2 deletions

View File

@ -53,10 +53,9 @@ extern "C"
{
int cocos2dx_lua_loader(lua_State *L)
{
auto path = adxelua_tosv(L, 1);
auto relativePath = adxelua_tostr(L, 1);
// convert any '.' to '/'
auto relativePath = adxelua_tostr(L, 1);
size_t pos = relativePath.find_first_of('.');
while (pos != std::string::npos)
{