From af99275e2eaaf15ec549162d56cf76e45c03af73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 26 Apr 2023 09:48:33 +0300 Subject: [PATCH] Remove unnecessary empty cases in shell scripts --- build-compiler-rt.sh | 2 -- build-libcxx.sh | 2 -- build-lldb-mi.sh | 2 -- build-llvm.sh | 2 -- build-mingw-w64-tools.sh | 2 -- build-openmp.sh | 2 -- strip-llvm.sh | 2 -- 7 files changed, 14 deletions(-) diff --git a/build-compiler-rt.sh b/build-compiler-rt.sh index 4a7549a..f98b7b7 100755 --- a/build-compiler-rt.sh +++ b/build-compiler-rt.sh @@ -79,8 +79,6 @@ else MINGW*) CMAKE_GENERATOR="MSYS Makefiles" ;; - *) - ;; esac BUILDCMD=make fi diff --git a/build-libcxx.sh b/build-libcxx.sh index 7381ab6..d6a38f3 100755 --- a/build-libcxx.sh +++ b/build-libcxx.sh @@ -73,8 +73,6 @@ else MINGW*) CMAKE_GENERATOR="MSYS Makefiles" ;; - *) - ;; esac BUILDCMD=make fi diff --git a/build-lldb-mi.sh b/build-lldb-mi.sh index c59767e..59c5730 100755 --- a/build-lldb-mi.sh +++ b/build-lldb-mi.sh @@ -64,8 +64,6 @@ else MINGW*) CMAKE_GENERATOR="MSYS Makefiles" ;; - *) - ;; esac BUILDCMD=make fi diff --git a/build-llvm.sh b/build-llvm.sh index 56286f3..34ce680 100755 --- a/build-llvm.sh +++ b/build-llvm.sh @@ -146,8 +146,6 @@ else MINGW*) CMAKE_GENERATOR="MSYS Makefiles" ;; - *) - ;; esac BUILDCMD=make fi diff --git a/build-mingw-w64-tools.sh b/build-mingw-w64-tools.sh index 02bf837..71ba459 100755 --- a/build-mingw-w64-tools.sh +++ b/build-mingw-w64-tools.sh @@ -68,8 +68,6 @@ else MINGW*) EXEEXT=.exe ;; - *) - ;; esac fi if [ -n "$MACOS_REDIST" ]; then diff --git a/build-openmp.sh b/build-openmp.sh index b912a72..5de6246 100755 --- a/build-openmp.sh +++ b/build-openmp.sh @@ -63,8 +63,6 @@ else MINGW*) CMAKE_GENERATOR="MSYS Makefiles" ;; - *) - ;; esac BUILDCMD=make fi diff --git a/strip-llvm.sh b/strip-llvm.sh index 499f971..115f643 100755 --- a/strip-llvm.sh +++ b/strip-llvm.sh @@ -47,8 +47,6 @@ case $(uname) in MINGW*) EXEEXT=.exe ;; -*) - ;; esac cd bin