Remove trailing whitespace.

This commit is contained in:
Daniel Kirchner 2018-09-04 17:28:52 +02:00
parent 1cd96b2dc4
commit 1ae6ec9038
2 changed files with 2 additions and 4 deletions

View File

@ -1827,7 +1827,7 @@ void ExpressionCompiler::appendExternalFunctionCall(
auto funKind = _functionType.kind();
solAssert(funKind != FunctionType::Kind::BareStaticCall || m_context.evmVersion().hasStaticCall(), "");
bool returnSuccessConditionAndReturndata = funKind == FunctionType::Kind::BareCall || funKind == FunctionType::Kind::BareCallCode || funKind == FunctionType::Kind::BareDelegateCall || funKind == FunctionType::Kind::BareStaticCall;
bool isCallCode = funKind == FunctionType::Kind::BareCallCode;
bool isDelegateCall = funKind == FunctionType::Kind::BareDelegateCall || funKind == FunctionType::Kind::DelegateCall;

View File

@ -9,9 +9,7 @@ WHITESPACE=$(git grep -n -I -E "^.*[[:space:]]+$" | grep -v "test/libsolidity/AS
if [[ "$WHITESPACE" != "" ]]
then
echo "Error: Trailing whitespace found:" >&2
echo "\"$WHITESPACE\"" >&2
echo "$WHITESPACE" >&2
exit 1
else
exit 0
fi
)