Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / shells / posh / patches / patch-aa
blob902f76bb02650891a26c013f00a1482139c793df
1 $NetBSD$
3 --- src/builtins.c.orig 2004-09-08 13:54:59.000000000 +0200
4 +++ src/builtins.c
5 @@ -450,6 +450,8 @@ int posh_builtin_exitreturn(int argc, ch
6  
7  static void ers_walk(const void *nodep, const VISIT which, const int UNUSED(depth)) {
8         struct tbl *vp;
9 +       struct tbl *tvp;
10 +       int any_set = 0;
12         switch(which) {
13                 case preorder:
14 @@ -460,8 +458,6 @@ static void ers_walk(const void *nodep, 
15                 case postorder:
16                 case leaf:
17                         vp = *(struct tbl **)nodep;
18 -                       struct tbl *tvp;
19 -                       int any_set = 0;
20                         /*
21                          * See if the parameter is set (for arrays, if any
22                          * element is set).