Skip to content

Commit 8971da6

Browse files
committed
shellcheck: silence trap-only cleanup warning in Geekbench
Add a targeted SC2317 annotation for the trap-invoked cleanup function in Runner/suites/Performance/Geekbench/run.sh without changing runtime behavior. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
1 parent f1ad8ac commit 8971da6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • Runner/suites/Performance/Geekbench

Runner/suites/Performance/Geekbench/run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ if [ "$SET_PERF_GOV" = "1" ]; then
297297
set_performance_governor || true
298298
fi
299299

300+
# shellcheck disable=SC2317 # cleanup is invoked via trap
300301
cleanup() {
301302
if [ "$SET_PERF_GOV" = "1" ]; then
302303
restore_governor || true

0 commit comments

Comments
 (0)