Compare function pointers against 0 rather than nil.

This commit is contained in:
wkj 2004-07-09 01:54:06 +00:00
parent eac9e0183f
commit a87638642c
13 changed files with 15 additions and 15 deletions

View file

@ -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;
}