Compare function pointers against 0 rather than nil.
This commit is contained in:
parent
eac9e0183f
commit
a87638642c
13 changed files with 15 additions and 15 deletions
|
|
@ -427,7 +427,7 @@ syminit(Fhdr *hdr)
|
|||
int i;
|
||||
Symbol *r, *w, *es;
|
||||
|
||||
if(hdr->syminit == nil){
|
||||
if(hdr->syminit == 0){
|
||||
werrstr("no debugging symbols");
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue