Browse Source

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>
Cristian Ionescu-Idbohrn 3 years ago
parent
commit
ddfdf68ca1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      shell/ash.c

+ 2 - 0
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);