Removed some unnecessary code.

This commit is contained in:
batrick 2008-09-23 13:19:13 +00:00
parent 17020acc26
commit 0e984d85b7

View file

@ -353,8 +353,7 @@ int init_parseargs (lua_State *L)
size_t len;
luaL_checkstring(L, 1);
luaL_getmetafield(L, 1, "__index"); // string library
lua_getfield(L, -1, "gsub"); // string.gsub
lua_getfield(L, 1, "gsub"); // string.gsub
lua_pushvalue(L, 1);
lua_pushliteral(L, "=([^{},]+)"); // make strings quoted
lua_pushliteral(L, "=\"%1\"");