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
|
|
@ -146,7 +146,7 @@ main(int argc, char **argv)
|
|||
/*
|
||||
* Read new files into memory
|
||||
*/
|
||||
if(rdproto(proto, src, addprotofile, nil, &iroot) < 0)
|
||||
if(rdproto(proto, src, addprotofile, 0, &iroot) < 0)
|
||||
sysfatal("rdproto: %r");
|
||||
|
||||
if(mk9660){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue