summaryrefslogtreecommitdiff
path: root/bin/ksh/edit.c
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-10-21 14:31:29 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-10-21 14:31:29 +0000
commitc41dc2462cde9ae6b9892de36e7513a978682596 (patch)
treea8450da24d39edf567b3755c894cb4f4450930eb /bin/ksh/edit.c
parent80f6e28b0334496fc6ed1c1d142bc2df335913ac (diff)
Assign pointer to NULL rather than 0.
ok nicm@
Diffstat (limited to 'bin/ksh/edit.c')
-rw-r--r--bin/ksh/edit.c4
1 files changed, 2 insertions, 2 deletions
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;