Changed: #825 Remove all warning when compiling Ryzom

hg/feature/sound
kervala 14 years ago
parent bb803527ba
commit 77b5aab4f5

@ -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);

@ -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;

@ -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);

@ -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);

Loading…
Cancel
Save