Date: Thu, 12 May 2016 02:02:16 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299500 - head/usr.bin/chat Message-ID: <201605120202.u4C22GMT007239@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Thu May 12 02:02:16 2016 New Revision: 299500 URL: https://svnweb.freebsd.org/changeset/base/299500 Log: chat(8): use NULL instead of zero for initializing a pointer. Modified: head/usr.bin/chat/chat.c Modified: head/usr.bin/chat/chat.c ============================================================================== --- head/usr.bin/chat/chat.c Thu May 12 01:19:11 2016 (r299499) +++ head/usr.bin/chat/chat.c Thu May 12 02:02:16 2016 (r299500) @@ -1401,7 +1401,7 @@ vfmtmsg(char *buf, int buflen, const cha } } } - str = 0; + str = NULL; base = 0; neg = 0; ++fmt;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605120202.u4C22GMT007239>