columnData;
std::string value;
- QString elmtType = "";
+ QString elmtType;
UFormElm *elmt = 0;
if(root->getArrayNode(&elmt,0) && elmt)
diff --git a/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp b/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp
index 13e2d0a5b..adcf6c680 100644
--- a/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp
+++ b/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp
@@ -1809,7 +1809,7 @@ string CContentObjective::genCode(CMissionData &md)
// ---------------------------------------------------------------------------
/*std::string CContentObjective::genNbGuildMembersNeededOption(CMissionData &md)
{
- string ret = "";
+ string ret;
// If we are in a guild mission we add the 'nb_guild_members_needed' option to the script
if (md.isGuildMission())
{
diff --git a/code/ryzom/tools/leveldesign/mp_generator/main.cpp b/code/ryzom/tools/leveldesign/mp_generator/main.cpp
index e61546a8d..decb9b766 100644
--- a/code/ryzom/tools/leveldesign/mp_generator/main.cpp
+++ b/code/ryzom/tools/leveldesign/mp_generator/main.cpp
@@ -1455,7 +1455,7 @@ void GenerateDoc()
AltDocs[c].write( "" + string(DataColStr[cc]) + " | " );
AltDocs[c].write( "" );
string previousKey = "[NO PREVIOUS]"; // not a blank string, because it may be a valid value
- string previousName = "";
+ string previousName;
for ( CRMData::CLookup::const_iterator isd=SortableData.lookup( c ).begin(); isd!=SortableData.lookup( c ).end(); ++isd )
{
const TRMItem& item = SortableData.getRow( (*isd).second );
diff --git a/code/ryzom/tools/pd_parser/parse_node.h b/code/ryzom/tools/pd_parser/parse_node.h
index b1c43fa4a..ad2b6a8f2 100644
--- a/code/ryzom/tools/pd_parser/parse_node.h
+++ b/code/ryzom/tools/pd_parser/parse_node.h
@@ -870,7 +870,7 @@ public:
std::string getIndexName(uint32 value) const
{
- std::string result = "";
+ std::string result;
uint i;
for (i=0; iName;
return res;
@@ -1078,7 +1078,7 @@ public:
std::string getDebugCallStringFmt()
{
uint i, idx=0;
- std::string res = "";
+ std::string res;
for (i=0; i