summaryrefslogtreecommitdiff
path: root/bin/ksh/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ksh/exec.c')
-rw-r--r--bin/ksh/exec.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/ksh/exec.c b/bin/ksh/exec.c
index 6d59366b9a8..7c98d956239 100644
--- a/bin/ksh/exec.c
+++ b/bin/ksh/exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.c,v 1.9 1997/06/19 13:58:41 kstailey Exp $ */
+/* $OpenBSD: exec.c,v 1.10 1997/09/12 04:38:05 millert Exp $ */
/*
* execute command tree
@@ -458,6 +458,10 @@ comexec(t, tp, ap, flags)
int keepasn_ok;
int fcflags = FC_BI|FC_FUNC|FC_PATH;
+#ifdef __GNUC__
+ (void)&rv;
+#endif
+
/* snag the last argument for $_ XXX not the same as at&t ksh,
* which only seems to set $_ after a newline (but not in
* functions/dot scripts, but in interactive and scipt) -