From owner-svn-src-all@freebsd.org Fri Apr 15 00:47:31 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EAE4BADA453; Fri, 15 Apr 2016 00:47:31 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ADBF41474; Fri, 15 Apr 2016 00:47:31 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3F0lUEQ006064; Fri, 15 Apr 2016 00:47:30 GMT (envelope-from araujo@FreeBSD.org) Received: (from araujo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3F0lUeP006063; Fri, 15 Apr 2016 00:47:30 GMT (envelope-from araujo@FreeBSD.org) Message-Id: <201604150047.u3F0lUeP006063@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: araujo set sender to araujo@FreeBSD.org using -f From: Marcelo Araujo Date: Fri, 15 Apr 2016 00:47:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298018 - head/lib/libypclnt X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 00:47:32 -0000 Author: araujo Date: Fri Apr 15 00:47:30 2016 New Revision: 298018 URL: https://svnweb.freebsd.org/changeset/base/298018 Log: Initialize pointer with NULL instead of 0. Submitted by: pfg Modified: head/lib/libypclnt/ypclnt_passwd.c Modified: head/lib/libypclnt/ypclnt_passwd.c ============================================================================== --- head/lib/libypclnt/ypclnt_passwd.c Thu Apr 14 23:14:41 2016 (r298017) +++ head/lib/libypclnt/ypclnt_passwd.c Fri Apr 15 00:47:30 2016 (r298018) @@ -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 s struct master_yppasswd yppwd; struct rpc_err rpcerr; struct netconfig *nc = NULL; - void *localhandle = 0; + void *localhandle = NULL; CLIENT *clnt = NULL; int ret, *result;