From d5314e71294d228cff5d86e00d15661461f68fc9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 24 Jun 2020 09:31:30 +0200 Subject: suppress a few compile warnings Signed-off-by: Denys Vlasenko --- shell/hush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/hush.c') diff --git a/shell/hush.c b/shell/hush.c index cab7ea5b0..2cf2170ca 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -7917,7 +7917,7 @@ static const struct built_in_command *find_builtin(const char *name) return find_builtin_helper(name, bltins2, &bltins2[ARRAY_SIZE(bltins2)]); } -#if EDITING_HAS_get_exe_name +#if ENABLE_HUSH_JOB && EDITING_HAS_get_exe_name static const char * FAST_FUNC get_builtin_name(int i) { if (/*i >= 0 && */ i < ARRAY_SIZE(bltins1)) { -- cgit v1.2.3