summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-07-24 21:57:29 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-07-24 21:57:29 +0000
commit694bcd4b04b8f3bd12b98ce20e309dbe46fe9912 (patch)
treec46510dc5877ec9f4369bab39b4e083c8983c4d6
parent35b1b4eb6c4f26a2b3e6ab0ccc1bb1993303b9cf (diff)
Oops.
-rw-r--r--usr.bin/make/varmodifiers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/varmodifiers.c b/usr.bin/make/varmodifiers.c
index 51af8a2e05d..cacb91cd478 100644
--- a/usr.bin/make/varmodifiers.c
+++ b/usr.bin/make/varmodifiers.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: varmodifiers.c,v 1.3 2000/07/17 23:54:26 espie Exp $ */
+/* $OpenBSD: varmodifiers.c,v 1.4 2000/07/24 21:57:28 espie Exp $ */
/* $NetBSD: var.c,v 1.18 1997/03/18 19:24:46 christos Exp $ */
/*
@@ -1124,7 +1124,7 @@ VarModifiers_Apply(str, ctxt, err, freePtr, start, endc, lengthPtr)
#ifdef SUNSHCMD
case 's':
if (tstr[1] == 'h' && (tstr[2] == endc || tstr[2] == ':')) {
- char *err;
+ char *err = 0;
newStr = str ? Cmd_Exec(str, &err) : NULL;
if (err)
Error(err, str);