Changed: #825 Remove all warning when compiling Ryzom

This commit is contained in:
kervala 2010-10-24 18:57:09 +02:00
parent 92e942688e
commit 1fd5c39572
4 changed files with 5 additions and 5 deletions

View file

@ -161,7 +161,7 @@ bool putIn (NLMISC::CBitmap *pSrc, NLMISC::CBitmap *pDst, sint32 x, sint32 y, bo
// ***************************************************************************
string getBaseName (const string &fullname)
{
string sTmp2 = "";
string sTmp2;
string::size_type pos = fullname.rfind('_');
if (pos != string::npos)
sTmp2 = fullname.substr(0, pos+1);

View file

@ -346,7 +346,7 @@ int main(int argc, char **argv)
TextContext.setColor (CRGBA(255,255,255,255));
string sAllClusters = "";
string sAllClusters;
for( uint32 j = 0; j < vCluster.size(); ++j)
{
sAllClusters += vCluster[j]->Name;

View file

@ -171,7 +171,7 @@ bool putIn (NLMISC::CBitmap *pSrc, NLMISC::CBitmap *pDst, sint32 x, sint32 y)
// ---------------------------------------------------------------------------
string getBaseName (const string &fullname)
{
string sTmp2 = "";
string sTmp2;
string::size_type pos = fullname.rfind('_');
if (pos != string::npos)
sTmp2 = fullname.substr(0, pos+1);

View file

@ -174,9 +174,9 @@ sint main(int argc, char **argv)
std::string output_path = exporter.settings.output_path + md5.substr(0, 2) + "/" + md5;
// file is an animation
std::string animation = ""; // CPath::lookup(baseFilename + ".anim", false, false, false);
std::string animation; // CPath::lookup(baseFilename + ".anim", false, false, false);
// file is a skeleton
std::string skeleton = ""; // CPath::lookup(baseFilename + ".skel", false, false, false);
std::string skeleton; // CPath::lookup(baseFilename + ".skel", false, false, false);
// file is a shape
std::string shape = CPath::lookup(baseFilename + ".shape", false, false, false);