mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove unused variables
This commit is contained in:
parent
f712662a66
commit
893a5b6e60
@ -36,7 +36,6 @@ set -e
|
||||
|
||||
OPTIMIZE=${OPTIMIZE:-"0"}
|
||||
EVM=${EVM:-"invalid"}
|
||||
WORKDIR=${CIRCLE_WORKING_DIRECTORY:-.}
|
||||
REPODIR="$(realpath $(dirname $0)/..)"
|
||||
|
||||
source "${REPODIR}/scripts/common.sh"
|
||||
|
@ -49,7 +49,6 @@ function compileFull()
|
||||
fi
|
||||
|
||||
local files="$*"
|
||||
local output
|
||||
|
||||
local stderr_path=$(mktemp)
|
||||
|
||||
|
@ -27,7 +27,6 @@ if test -f $BIN/cmake && ($BIN/cmake --version | grep -q "$VERSION"); then
|
||||
else
|
||||
FILE=cmake-$VERSION-$OS-x86_64.tar.gz
|
||||
URL=https://cmake.org/files/v$VERSION_MAJOR.$VERSION_MINOR/$FILE
|
||||
ERROR=0
|
||||
TMPFILE=$(mktemp --tmpdir cmake-$VERSION-$OS-x86_64.XXXXXXXX.tar.gz)
|
||||
echo "Downloading CMake ($URL)..."
|
||||
wget "$URL" -O "$TMPFILE" -nv
|
||||
|
@ -113,7 +113,6 @@ wget -O ./solc/deps/downloads/jsoncpp-1.9.3.tar.gz https://github.com/open-sourc
|
||||
cd solc
|
||||
version=$($(dirname "$0")/get_version.sh)
|
||||
commithash=$(git rev-parse --short=8 HEAD)
|
||||
committimestamp=$(git show --format=%ci HEAD | head -n 1)
|
||||
commitdate=$(git show --format=%ci HEAD | head -n 1 | cut - -b1-10 | sed -e 's/-0?/./' | sed -e 's/-0?/./')
|
||||
|
||||
echo "$commithash" > commit_hash.txt
|
||||
|
@ -109,9 +109,9 @@ do
|
||||
then
|
||||
if [ -n "$optimize" ]
|
||||
then
|
||||
log=--logger=JUNIT,error,$log_directory/opt_$vm.xml $testargs
|
||||
log=--logger=JUNIT,error,$log_directory/opt_$vm.xml
|
||||
else
|
||||
log=--logger=JUNIT,error,$log_directory/noopt_$vm.xml $testargs_no_opt
|
||||
log=--logger=JUNIT,error,$log_directory/noopt_$vm.xml
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
TAG="$1"
|
||||
SOLJSON_JS="$2"
|
||||
|
||||
# If we ever want to patch the binaries e.g. for compatibility with older solc-js versions,
|
||||
# we can do that here.
|
||||
#
|
||||
# This script gets the following parameters:
|
||||
# - TAG
|
||||
# - SOLJSON_JS
|
||||
|
Loading…
Reference in New Issue
Block a user