diff options
author | araujo <araujo@FreeBSD.org> | 2016-04-15 00:47:30 +0000 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2016-04-15 00:47:30 +0000 |
commit | 32f44c79efbbb2bf4358aec4e7a6789758cbafbd (patch) | |
tree | c18d6c1decd36b193daf77687d6c2ae086e7982c /lib | |
parent | 0ee7b1f1ff956c9dd0081b2cf1e837a2dd80d00f (diff) | |
download | FreeBSD-src-32f44c79efbbb2bf4358aec4e7a6789758cbafbd.zip FreeBSD-src-32f44c79efbbb2bf4358aec4e7a6789758cbafbd.tar.gz |
Initialize pointer with NULL instead of 0.
Submitted by: pfg
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libypclnt/ypclnt_passwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libypclnt/ypclnt_passwd.c b/lib/libypclnt/ypclnt_passwd.c index c7ee7ea..86844eb 100644 --- a/lib/libypclnt/ypclnt_passwd.c +++ b/lib/libypclnt/ypclnt_passwd.c @@ -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; |