diff options
author | David Spickett <david.spickett@linaro.org> | 2020-04-21 16:06:08 +0100 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2020-04-22 13:53:59 +0100 |
commit | 2382c087b5f0d51a4556c8c62f4723ab5a0ab7c9 (patch) | |
tree | 70c781a3087d886dc08a92767b6754991858fd7b /tcwg-benchmark-results.sh | |
parent | 7dac1306e35858ef6485a0abf6222f6e13a28ee0 (diff) |
Various shellcheck warning fixes
First round of low hanging fruit
from the files with the fewest
warnings.
Change-Id: I60ad57b5bfb2f0be9bb6506252c820f44d055200
Diffstat (limited to 'tcwg-benchmark-results.sh')
-rwxr-xr-x | tcwg-benchmark-results.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tcwg-benchmark-results.sh b/tcwg-benchmark-results.sh index 847c0b84..7f7c0e1b 100755 --- a/tcwg-benchmark-results.sh +++ b/tcwg-benchmark-results.sh @@ -13,6 +13,7 @@ obligatory_variables results top_artifacts="${top_artifacts-artifacts}" verbose="${verbose-false}" +# shellcheck disable=SC2154 num_entries_opt="${num_dsos+--num-dsos $num_dsos} ${num_symbols+--num-symbols $num_symbols}" entry_threshold="${entry_threshold-5}" @@ -23,6 +24,7 @@ if $verbose; then fi relative_opt="" +# shellcheck disable=SC2154 if [ x"${results_ref+set}" = x"set" ]; then relative_opt="--relative" results=("$results_ref" "${results[@]}") |