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
@@ -242,8 +242,8 @@ void BacktraceNames::FromAddr( const void *p )
const struct load_command *cmd = (struct load_command *) &header[1];
unsigned long diff = 0xffffffff;
const char *dli_sname = NULL;
void *dli_saddr = NULL;
const char *dli_sname = nullptr;
void *dli_saddr = nullptr;
for( unsigned long i = 0; i < header->ncmds; i++, cmd = next_load_command(cmd) )
{