summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorCristian Ionescu-Idbohrn2020-11-18 10:41:14 +0100
committerDenys Vlasenko2020-11-19 13:14:59 +0100
commitddfdf68ca1d925712a042700118e29f26137f9bd (patch)
tree7e74c2c597418a832cab713d5529c757b690aaa0 /shell
parentc20e42e320edcd3612cfdb71c8bea5277ebf9be2 (diff)
downloadbusybox-ddfdf68ca1d925712a042700118e29f26137f9bd.zip
busybox-ddfdf68ca1d925712a042700118e29f26137f9bd.tar.gz
fix warning: label 'out1' defined but not used
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index d1ca345..8c9a590 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7277,7 +7277,9 @@ subevalvar(char *start, char *str, int strloc,
out:
amount = loc - expdest;
STADJUST(amount, expdest);
+#if BASH_PATTERN_SUBST
out1:
+#endif
/* Remove any recorded regions beyond start of variable */
removerecordregions(startloc);