From ff19e03afaa82e6aef1bbc020c142b26150be783 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Fri, 11 Oct 2024 20:45:56 -0700 Subject: [PATCH] [scripts] SC2317: command appears to be unreachable (#10821) --- script/test | 2 -- tests/nexus/build.sh | 8 -------- 2 files changed, 10 deletions(-) diff --git a/script/test b/script/test index add7466fa87..aebc2fd6c65 100755 --- a/script/test +++ b/script/test @@ -706,12 +706,10 @@ main() cert) shift do_cert "$@" - shift $# ;; cert_suite) shift do_cert_suite "$@" - shift $# ;; get_thread_wireshark) do_get_thread_wireshark diff --git a/tests/nexus/build.sh b/tests/nexus/build.sh index 738ef2adb58..94718aa2d39 100755 --- a/tests/nexus/build.sh +++ b/tests/nexus/build.sh @@ -27,14 +27,6 @@ # POSSIBILITY OF SUCH DAMAGE. # -display_usage() -{ - echo "" - echo "Nexus build script " - echo "" - echo "" -} - die() { echo " *** ERROR: " "$*"