The big NULL replacement party part 5.

Right. ' = NULL' would get a lot of these.
This commit is contained in:
Jason Felds
2013-05-03 23:39:52 -04:00
parent 328c41eec0
commit 28e5148dec
233 changed files with 7448 additions and 7447 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ static RageSurface *RageSurface_Load_PNG( RageFile *f, const char *fn, char erro
return nullptr;
}
RageSurface *volatile img = NULL;
RageSurface *volatile img = nullptr;
CHECKPOINT;
if( setjmp(png_jmpbuf(png) ))
{
@@ -175,7 +175,7 @@ static RageSurface *RageSurface_Load_PNG( RageFile *f, const char *fn, char erro
int ret = png_get_PLTE( png, info_ptr, &palette, &num_palette );
ASSERT( ret == PNG_INFO_PLTE );
png_byte *trans = NULL;
png_byte *trans = nullptr;
int num_trans = 0;
png_get_tRNS( png, info_ptr, &trans, &num_trans, NULL );