mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
Initialize pointer with NULL instead of 0.
Submitted by: pfg
This commit is contained in:
parent
c29088b5c7
commit
1e6a0e5d79
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298018
|
@ -65,7 +65,7 @@ int
|
|||
ypclnt_havepasswdd(ypclnt_t *ypclnt)
|
||||
{
|
||||
struct netconfig *nc = NULL;
|
||||
void *localhandle = 0;
|
||||
void *localhandle = NULL;
|
||||
CLIENT *clnt = NULL;
|
||||
int ret;
|
||||
|
||||
|
@ -139,7 +139,7 @@ yppasswd_local(ypclnt_t *ypclnt, const struct passwd *pwd)
|
|||
struct master_yppasswd yppwd;
|
||||
struct rpc_err rpcerr;
|
||||
struct netconfig *nc = NULL;
|
||||
void *localhandle = 0;
|
||||
void *localhandle = NULL;
|
||||
CLIENT *clnt = NULL;
|
||||
int ret, *result;
|
||||
|
||||
|
|
Loading…
Reference in a new issue