mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-05-31 08:50:54 +00:00
Fix tons of compiler warnings
mostly -Wreorder, use const char* instead of char* for "static strings", fix inappropriate usage of NULL (e.g. instead of '\0' or (int)0)
This commit is contained in:
parent
b848312904
commit
9eeea7adf3
50 changed files with 112 additions and 101 deletions
|
@ -64,7 +64,7 @@ idSWFScriptObject::swfNamedVar_t& idSWFScriptObject::swfNamedVar_t::operator=( c
|
|||
idSWFScriptObject::idSWFScriptObject
|
||||
========================
|
||||
*/
|
||||
idSWFScriptObject::idSWFScriptObject() : prototype( NULL ), refCount( 1 ), noAutoDelete( false ), objectType( SWF_OBJECT_OBJECT )
|
||||
idSWFScriptObject::idSWFScriptObject() : refCount( 1 ), noAutoDelete( false ), prototype( NULL ), objectType( SWF_OBJECT_OBJECT )
|
||||
{
|
||||
data.sprite = NULL;
|
||||
data.text = NULL;
|
||||
|
@ -694,4 +694,4 @@ void idSWFScriptObject::PrintToConsole() const
|
|||
{
|
||||
idLib::Printf( "No subelements\n" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue