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
@@ -68,7 +68,7 @@ void RageFile_JPEG_init_source( j_decompress_ptr cinfo )
{
RageFile_source_mgr *src = (RageFile_source_mgr *) cinfo->src;
src->start_of_file = true;
src->pub.next_input_byte = NULL;
src->pub.next_input_byte = nullptr;
src->pub.bytes_in_buffer = 0;
}
@@ -123,7 +123,7 @@ static RageSurface *RageSurface_Load_JPEG( RageFile *f, const char *fn, char err
jerr.pub.error_exit = my_error_exit;
jerr.pub.output_message = my_output_message;
RageSurface *volatile img = NULL; /* volatile to prevent possible problems with setjmp */
RageSurface *volatile img = nullptr; /* volatile to prevent possible problems with setjmp */
if( setjmp(jerr.setjmp_buffer) )
{