From ebc6257a4f1358eccb1edbf1564c59197d122ac7 Mon Sep 17 00:00:00 2001 From: Rob Lemley Date: Sun, 29 Mar 2020 21:10:36 -0400 Subject: [PATCH] Bug 1625806 - Removed unused variable from build-libotr.sh. r=darktrojan Shellcheck reports EXE is an unused variable. --HG-- extra : histedit_source : 62b7407e1c1c5c200f961573cc25f2da0484ce1a --- taskcluster/scripts/build-libotr.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/taskcluster/scripts/build-libotr.sh b/taskcluster/scripts/build-libotr.sh index cf9a330380..5e76d9d0d6 100755 --- a/taskcluster/scripts/build-libotr.sh +++ b/taskcluster/scripts/build-libotr.sh @@ -173,7 +173,6 @@ case "${_TARGET_OS}" in LDFLAGS_otr="-Wl,-no-undefined,-L${_PREFIX}/lib,-lgcrypt,-lgpg-error,-lssp" _TARGET_LIBS="bin/libotr-5.dll bin/libgcrypt-20.dll bin/libgpg-error-0.dll" - EXE=.exe ;; win64) export PATH="${MOZ_FETCHES_DIR}/mingw32/bin:$PATH" @@ -186,7 +185,6 @@ case "${_TARGET_OS}" in LDFLAGS_otr="-Wl,-no-undefined,-L${_PREFIX}/lib,-lgcrypt,-lgpg-error,-lssp" _TARGET_LIBS="bin/libotr-5.dll bin/libgcrypt-20.dll bin/libgpg-error6-0.dll" - EXE=.exe ;; macosx64) for _t in cctools/bin clang/bin binutils/bin; do @@ -211,7 +209,6 @@ case "${_TARGET_OS}" in LDFLAGS_otr="-shared" _TARGET_LIBS="lib/libotr.5.dylib" - EXE= ;; linux32) for _t in clang/bin binutils/bin; do @@ -237,7 +234,6 @@ case "${_TARGET_OS}" in _GCRYPT_CONF_FLAGS="--disable-asm" _CONF_STATIC="--enable-static --disable-shared" _TARGET_LIBS='lib/libotr.so.5' - EXE= ;; linux64) for _t in clang/bin binutils/bin; do @@ -259,7 +255,6 @@ case "${_TARGET_OS}" in _OS_CONFIGURE_FLAGS="--host=${_TARGET_TRIPLE} --target=${_TARGET_TRIPLE}" _CONF_STATIC="--enable-static --disable-shared" _TARGET_LIBS='lib/libotr.so.5' - EXE= ;; *) echo "Invalid target platform: ${_TARGET_OS}"