mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
unused parameter, accidental string
This commit is contained in:
parent
f1ff3d6492
commit
62b242bc96
|
@ -53,7 +53,7 @@ namespace sol {
|
|||
}
|
||||
if (it != e) {
|
||||
for (std::size_t c = 0; c < 3; ++i, ++c) {
|
||||
basechunkname[i] = ".";
|
||||
basechunkname[i] = '.';
|
||||
}
|
||||
}
|
||||
basechunkname[i] = '\0';
|
||||
|
|
|
@ -461,6 +461,7 @@ namespace sol {
|
|||
#if SOL_LUA_VERSION > 501
|
||||
load_status x = static_cast<load_status>(lua_load(L, reader, data, chunknametarget, to_string(mode).c_str()));
|
||||
#else
|
||||
(void)mode;
|
||||
load_status x = static_cast<load_status>(lua_load(L, reader, data, chunknametarget));
|
||||
#endif
|
||||
return load_result(L, absolute_index(L, -1), 1, 1, x);
|
||||
|
|
Loading…
Reference in New Issue
Block a user