From b8a4ddffac4cb5376c7ff3956bcf26ad1e56d7c5 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Fri, 9 Aug 2024 23:09:25 +0000 Subject: [PATCH] set_xtensa_params.sh: silence warnings which are wrong when sourced We can't have a shebang and of course all variables are unused. Signed-off-by: Marc Herbert --- scripts/set_xtensa_params.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/set_xtensa_params.sh b/scripts/set_xtensa_params.sh index 8a0e2aeb8..47853e9fc 100644 --- a/scripts/set_xtensa_params.sh +++ b/scripts/set_xtensa_params.sh @@ -1,6 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2023 Intel Corporation. All rights reserved. +# Because this is meant to be sourced +# shellcheck disable=SC2148 +# shellcheck disable=SC2034 + ### XTENSA_ toolchain configuration shared across projects ### # These variables are currently used in/by: