summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko2020-06-24 09:31:30 +0200
committerDenys Vlasenko2020-06-24 09:31:30 +0200
commitd5314e71294d228cff5d86e00d15661461f68fc9 (patch)
tree82dbf50b79f7bde1889042dfd3214a7307e5cb12 /shell
parent7c443d110d4dc51ba48bad8ed1427716b754bf2e (diff)
downloadbusybox-d5314e71294d228cff5d86e00d15661461f68fc9.zip
busybox-d5314e71294d228cff5d86e00d15661461f68fc9.tar.gz
suppress a few compile warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index cab7ea5..2cf2170 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)) {