summaryrefslogtreecommitdiff
path: root/bin/ksh/c_ksh.c
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2015-09-08 11:35:58 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2015-09-08 11:35:58 +0000
commit0a153555af44716162ba69be626659201a05d9d6 (patch)
treed7bf4d4af3f4504d91ce3103154333eb8b9e0cba /bin/ksh/c_ksh.c
parentcabe82af1b45e7e7798dc4e87efd03936aba0f3f (diff)
Remove superfluous variable initialization; from Michael McConville.
Diffstat (limited to 'bin/ksh/c_ksh.c')
-rw-r--r--bin/ksh/c_ksh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/c_ksh.c b/bin/ksh/c_ksh.c
index 273c0679de6..7b618c55c88 100644
--- a/bin/ksh/c_ksh.c
+++ b/bin/ksh/c_ksh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: c_ksh.c,v 1.35 2015/09/01 13:12:31 tedu Exp $ */
+/* $OpenBSD: c_ksh.c,v 1.36 2015/09/08 11:35:57 jca Exp $ */
/*
* built-in Korn commands: c_*
@@ -534,7 +534,7 @@ c_command(char **wp)
int
c_typeset(char **wp)
{
- struct block *l = e->loc;
+ struct block *l;
struct tbl *vp, **p;
Tflag fset = 0, fclr = 0;
int thing = 0, func = 0, local = 0;