From 4a579e15620a23139fbb9574a440c6c00195f2de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 22 Mar 2023 23:15:15 +0200 Subject: [PATCH] build-llvm: Remove an unused variable This became unused in 8536b740e3d438a120b5432fe6cf2b4277f8daa6. --- build-llvm.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build-llvm.sh b/build-llvm.sh index 8b40122..df0cbe3 100755 --- a/build-llvm.sh +++ b/build-llvm.sh @@ -153,20 +153,14 @@ if [ -n "$HOST" ]; then for dir in llvm-project/llvm/build/bin llvm-project/llvm/build-asserts/bin; do if [ -x "$dir/llvm-tblgen.exe" ]; then native="$(pwd)/$dir" - suffix=".exe" break elif [ -x "$dir/llvm-tblgen" ]; then native="$(pwd)/$dir" - suffix="" break fi done if [ -z "$native" ] && command -v llvm-tblgen >/dev/null; then native="$(dirname $(command -v llvm-tblgen))" - suffix="" - if [ -x "$native/llvm-tblgen.exe" ]; then - suffix=".exe" - fi fi