From: mmcc Date: Wed, 21 Oct 2015 14:31:28 +0000 (+0000) Subject: Assign pointer to NULL rather than 0. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bd2acf299fdb08b2284ca4d0c72ff4d7683cfcc3;p=openbsd Assign pointer to NULL rather than 0. ok nicm@ --- diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c index ed2f9a3babc..4653a51fc4a 100644 --- a/bin/ksh/edit.c +++ b/bin/ksh/edit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.c,v 1.48 2015/10/19 14:42:16 mmcc Exp $ */ +/* $OpenBSD: edit.c,v 1.49 2015/10/21 14:31:28 mmcc Exp $ */ /* * Command line editing - common code @@ -470,7 +470,7 @@ x_command_glob(int flags, const char *str, int slen, char ***wordsp) if (flags & XCF_FULLPATH) { /* Sort by basename, then path order */ struct path_order_info *info; - struct path_order_info *last_info = 0; + struct path_order_info *last_info = NULL; char **words = (char **) XPptrv(w); int path_order = 0; int i;