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
|
|
@ -17,7 +17,7 @@ stabsym(Stab *stabs, int i, StabSym *sym)
|
|||
werrstr("no stabs");
|
||||
return -1;
|
||||
}
|
||||
if(stabs->e2==nil || stabs->e4==nil){
|
||||
if(stabs->e2==0 || stabs->e4==0){
|
||||
werrstr("no data extractors");
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue