Changed: std::string already empty

--HG--
branch : develop
This commit is contained in:
kervala 2016-10-30 16:00:04 +01:00
parent 16df8b8c1d
commit b25298f0f8
2 changed files with 2 additions and 2 deletions

View file

@ -346,7 +346,7 @@ static CLuaString lstr_isNil("isNil");
void CLuaIHMRyzom::createLuaEnumTable(CLuaState &ls, const std::string &str)
{
//H_AUTO(Lua_CLuaIHM_createLuaEnumTable)
std::string path = "", script, p;
std::string path, script, p;
CSString s = str;
// Create table recursively (ex: 'game.TPVPClan' will check/create the table 'game' and 'game.TPVPClan')
p = s.splitTo('.', true);

View file

@ -1158,7 +1158,7 @@ void CScreenshotIslands::loadIslands()
TBuffer cleanBuffer;
processProximityBuffer(zoneBuffer, zones[i].getZoneWidth(), cleanBuffer);
string fileName = string("");
string fileName;
list< string >::const_iterator itIsland(continent.Islands.begin()), lastIsland(continent.Islands.end());
for( ; itIsland != lastIsland ; ++itIsland)
{