mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Fix warnings introduced in shellcheck v0.6.0 (Partial Merge: #15166)
This commit is contained in:
parent
27aef40091
commit
2e7f07ebeb
@ -11,20 +11,20 @@
|
|||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
|
|
||||||
FUNCTION_NAMES_AND_NUMBER_OF_LEADING_ARGUMENTS=(
|
FUNCTION_NAMES_AND_NUMBER_OF_LEADING_ARGUMENTS=(
|
||||||
FatalError,0
|
"FatalError,0"
|
||||||
fprintf,1
|
"fprintf,1"
|
||||||
LogConnectFailure,1
|
"LogConnectFailure,1"
|
||||||
LogPrint,1
|
"LogPrint,1"
|
||||||
LogPrintf,0
|
"LogPrintf,0"
|
||||||
printf,0
|
"printf,0"
|
||||||
snprintf,2
|
"snprintf,2"
|
||||||
sprintf,1
|
"sprintf,1"
|
||||||
strprintf,0
|
"strprintf,0"
|
||||||
vfprintf,1
|
"vfprintf,1"
|
||||||
vprintf,1
|
"vprintf,1"
|
||||||
vsnprintf,1
|
"vsnprintf,1"
|
||||||
vsprintf,1
|
"vsprintf,1"
|
||||||
WalletLogPrintf,0
|
"WalletLogPrintf,0"
|
||||||
)
|
)
|
||||||
|
|
||||||
EXIT_CODE=0
|
EXIT_CODE=0
|
||||||
|
@ -23,7 +23,7 @@ while getopts "?" opt; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ -z "${COMMIT_RANGE}" ]; then
|
if [ -z "${COMMIT_RANGE}" ]; then
|
||||||
if [ "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
COMMIT_RANGE="HEAD~$1...HEAD"
|
COMMIT_RANGE="HEAD~$1...HEAD"
|
||||||
else
|
else
|
||||||
COMMIT_RANGE="HEAD"
|
COMMIT_RANGE="HEAD"
|
||||||
|
Loading…
Reference in New Issue
Block a user