aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
-rw-r--r--shell/hush.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index f0dd70e6b..714b011a5 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7908,7 +7908,7 @@ enum {
7908 /* 21 */ | (0u << TFOR) 7908 /* 21 */ | (0u << TFOR)
7909#if ENABLE_ASH_BASH_COMPAT 7909#if ENABLE_ASH_BASH_COMPAT
7910 /* 22 */ | (0u << TFUNCTION) 7910 /* 22 */ | (0u << TFUNCTION)
7911#endif 7911#endif
7912 /* 23 */ | (0u << TIF) 7912 /* 23 */ | (0u << TIF)
7913 /* 24 */ | (0u << TIN) 7913 /* 24 */ | (0u << TIN)
7914 /* 25 */ | (1u << TTHEN) 7914 /* 25 */ | (1u << TTHEN)
diff --git a/shell/hush.c b/shell/hush.c
index 5990d690c..f1d25a199 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -8738,7 +8738,7 @@ static void helper_export_local(char **argv, int exp, int lvl)
8738 && var && var->func_nest_level == lvl 8738 && var && var->func_nest_level == lvl
8739 ) { 8739 ) {
8740 /* "local x=abc; ...; local x" - ignore second local decl */ 8740 /* "local x=abc; ...; local x" - ignore second local decl */
8741 continue; 8741 continue;
8742 } 8742 }
8743#endif 8743#endif
8744 /* Exporting non-existing variable. 8744 /* Exporting non-existing variable.