Changed: #825 Remove all warnings when compiling Ryzom
This commit is contained in:
parent
06ec6effa8
commit
27f3b8c8e8
1 changed files with 8 additions and 4 deletions
|
@ -151,7 +151,7 @@ void OnMove( const CVector& listenerpos )
|
||||||
*/
|
*/
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
new CApplicationContext(); // crash at end if on stack ...
|
CApplicationContext *appContext = new CApplicationContext(); // crash at end if on stack ...
|
||||||
|
|
||||||
// Initialization
|
// Initialization
|
||||||
Init();
|
Init();
|
||||||
|
@ -208,4 +208,8 @@ int main()
|
||||||
|
|
||||||
delete src1; delete src2;
|
delete src1; delete src2;
|
||||||
delete AudioMixer;
|
delete AudioMixer;
|
||||||
|
|
||||||
|
delete appContext;
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue