Changed: std::string already empty
--HG-- branch : develop
This commit is contained in:
parent
16df8b8c1d
commit
b25298f0f8
2 changed files with 2 additions and 2 deletions
|
@ -346,7 +346,7 @@ static CLuaString lstr_isNil("isNil");
|
||||||
void CLuaIHMRyzom::createLuaEnumTable(CLuaState &ls, const std::string &str)
|
void CLuaIHMRyzom::createLuaEnumTable(CLuaState &ls, const std::string &str)
|
||||||
{
|
{
|
||||||
//H_AUTO(Lua_CLuaIHM_createLuaEnumTable)
|
//H_AUTO(Lua_CLuaIHM_createLuaEnumTable)
|
||||||
std::string path = "", script, p;
|
std::string path, script, p;
|
||||||
CSString s = str;
|
CSString s = str;
|
||||||
// Create table recursively (ex: 'game.TPVPClan' will check/create the table 'game' and 'game.TPVPClan')
|
// Create table recursively (ex: 'game.TPVPClan' will check/create the table 'game' and 'game.TPVPClan')
|
||||||
p = s.splitTo('.', true);
|
p = s.splitTo('.', true);
|
||||||
|
|
|
@ -1158,7 +1158,7 @@ void CScreenshotIslands::loadIslands()
|
||||||
TBuffer cleanBuffer;
|
TBuffer cleanBuffer;
|
||||||
processProximityBuffer(zoneBuffer, zones[i].getZoneWidth(), cleanBuffer);
|
processProximityBuffer(zoneBuffer, zones[i].getZoneWidth(), cleanBuffer);
|
||||||
|
|
||||||
string fileName = string("");
|
string fileName;
|
||||||
list< string >::const_iterator itIsland(continent.Islands.begin()), lastIsland(continent.Islands.end());
|
list< string >::const_iterator itIsland(continent.Islands.begin()), lastIsland(continent.Islands.end());
|
||||||
for( ; itIsland != lastIsland ; ++itIsland)
|
for( ; itIsland != lastIsland ; ++itIsland)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue