From 32f44c79efbbb2bf4358aec4e7a6789758cbafbd Mon Sep 17 00:00:00 2001 From: araujo Date: Fri, 15 Apr 2016 00:47:30 +0000 Subject: [PATCH] Initialize pointer with NULL instead of 0. Submitted by: pfg --- lib/libypclnt/ypclnt_passwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libypclnt/ypclnt_passwd.c b/lib/libypclnt/ypclnt_passwd.c index c7ee7eafb108..86844eb48e99 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;