[git commit] fix warning: label 'out1' defined but not used

Denys Vlasenko vda.linux at googlemail.com
Thu Nov 19 12:14:59 UTC 2020


commit: https://git.busybox.net/busybox/commit/?id=ddfdf68ca1d925712a042700118e29f26137f9bd
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/ash.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/shell/ash.c b/shell/ash.c
index d1ca3451d..8c9a590d1 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);
 


More information about the busybox-cvs mailing list