Changed: #825 Remove all warnings when compiling Ryzom

hg/feature/gsoc2013-dfighter
kervala 13 years ago
parent 0795a61516
commit 1374286cab

@ -60,7 +60,7 @@ QNLWidget::~QNLWidget()
void QNLWidget::init()
{
// create the driver
m_driver = NL3D::UDriver::createDriver(NULL, false, NULL);
m_driver = NL3D::UDriver::createDriver(0, false);
nlassert(m_driver);
// initialize the nel 3d viewport

@ -78,11 +78,11 @@ CInterfaceExprNode *CInterfaceExpr::buildExprTree(const std::string &expr)
{
std::string tempStr;
formatLuaCall(expr, tempStr);
if (buildExprTree(tempStr.c_str(), node) == NULL) return false;
if (buildExprTree(tempStr.c_str(), node) == NULL) return NULL;
}
else
{
if (buildExprTree(expr.c_str(), node) == NULL) return false;
if (buildExprTree(expr.c_str(), node) == NULL) return NULL;
}
return node;

@ -148,7 +148,7 @@ namespace R2
public:
CDynamicMapService( NLMISC::CConfigFile& confFile, NLNET::IModuleSocket * gateway);
~CDynamicMapService();
virtual ~CDynamicMapService();
static CDynamicMapService* getInstance();

@ -21,6 +21,8 @@
class IValue {
public:
virtual ~IValue() { }
virtual void getValue(IValue &) = 0;
virtual void setValue(IValue &) = 0;

Loading…
Cancel
Save