rcp(1): replace 0 with NULL for pointers.
Found with devel/coccinelle.
This commit is contained in:
parent
b2d7040c1c
commit
3b7175bdc7
@ -447,7 +447,7 @@ rsource(char *name, struct stat *statp)
|
||||
return;
|
||||
}
|
||||
last = strrchr(name, '/');
|
||||
if (last == 0)
|
||||
if (last == NULL)
|
||||
last = name;
|
||||
else
|
||||
last++;
|
||||
|
Loading…
Reference in New Issue
Block a user