summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorEric Andersen2002-07-11 11:11:56 +0000
committerEric Andersen2002-07-11 11:11:56 +0000
commit2276d836398564a90f5ff237e63ca3104ae509f0 (patch)
treeb516e1554a434ba539ed5318c0b3736940c1dd99 /shell
parentcafc10323099befd1e45bb1d212a511dcbb92b11 (diff)
downloadbusybox-2276d836398564a90f5ff237e63ca3104ae509f0.zip
busybox-2276d836398564a90f5ff237e63ca3104ae509f0.tar.gz
Fixup warnings and undefined operations that show up in gcc-3.1
-Erik
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 3d7043c..64761b9 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -11129,7 +11129,7 @@ redirect(union node *redir, int flags)
{
union node *n;
struct redirtab *sv = NULL;
- int i;
+ int i = EMPTY;
int fd;
int newfd;
int try;
@@ -12440,7 +12440,7 @@ findvar(struct var **vpp, const char *name)
/*
* Copyright (c) 1999 Herbert Xu <herbert@debian.org>
* This file contains code for the times builtin.
- * $Id: ash.c,v 1.54 2002/07/04 00:19:46 andersen Exp $
+ * $Id: ash.c,v 1.55 2002/07/11 11:11:51 andersen Exp $
*/
static int timescmd (int argc, char **argv)
{