Fixed: GCC warnings

--HG--
branch : develop
This commit is contained in:
kervala 2016-01-05 12:51:06 +01:00
parent ac57a464d4
commit f482f77179
4 changed files with 7 additions and 7 deletions

View file

@ -271,7 +271,6 @@ void CPSUtil::displayBasis(IDriver *driver, const CMatrix &modelMat, const NLMIS
void CPSUtil::print(IDriver *driver, const std::string &text, CFontGenerator &fg, CFontManager &fm, const CVector &pos, float size, NLMISC::CRGBA col /*= NLMISC::CRGBA::White*/)
{
NL_PS_FUNC(CPSUtil_print)
nlassert((&fg) && (&fm));
CComputedString cptedString;
fm.computeString ( text,
&fg,

View file

@ -190,8 +190,9 @@ public:
TParamInfo(const std::string &name, STRING_MANAGER::TParamType type, const std::string &compilerParam = "")
: ParamName(name),
ParamType(type),
CompilerParam(compilerParam)
CompilerParam(compilerParam),
ParamType(type)
{
}
};
@ -328,7 +329,7 @@ private:
std::string genPreRequisites();
// forbidden copy constructor !
CMissionData(const CMissionData &other)
CMissionData(const CMissionData &other):NLMISC::CRefCount()
{
nlstop;
}

View file

@ -255,8 +255,8 @@ public:
CStepObjective(CMissionData &md, IPrimitive *prim, const std::string &prefix = "")
: CStep(md, prim),
_HideObj(false),
_Prefix(prefix)
_Prefix(prefix),
_HideObj(false)
{
}

View file

@ -206,7 +206,7 @@ void extractNewWords(string workSheetFileName, string columnId, IWordListBuilder
return;
}
// get the name column index
uint nameColIndex;
uint nameColIndex = 0;
if(!workSheet.findCol(ucstring("name"), nameColIndex))
{
nlwarning("Error: Don't find the column 'name'. '%s' Aborted", workSheetFileName.c_str());