I'm seeing this warning:
shell/ash.c: In function 'subevalvar':
shell/ash.c:7280:2: warning: label 'out1' defined but not used [-Wunused-label]
7280 | out1:
| ^~~~
It appears this patch:
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);
gets rid of it.
Cheers,
--
Cristian
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox