Skip to content

Commit 937613d

Browse files
committed
Merge #11467: Fix typos. Use nullptr instead of NULL.
0aacfa4 Remove accidental stray semicolon (practicalswift) 68feb49 Use nullptr instead of NULL (practicalswift) c6b07fd Fix a vs. an typo (practicalswift) Pull request description: Minor cleanups: * Typo: Fix a vs. an typo * Typo: Remove accidental stray semicolon (only remaining instance in repo) * Correctness/consistency: Use `nullptr` instead of `NULL` (only remaining instance in repo) Tree-SHA512: 47142e557da9d3fa0b532c46edeb7f356a1f6dc5973e60b0e496badff3581ff696eade542d49da777ac7f2e895129cc8487ccdb1984ff828434fa86f9a56dad0
2 parents 6759a24 + 0aacfa4 commit 937613d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

contrib/verify-commits/verify-commits.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ PREV_COMMIT=""
3939
while true; do
4040
if [ "$CURRENT_COMMIT" = $VERIFIED_ROOT ]; then
4141
echo "There is a valid path from "$CURRENT_COMMIT" to $VERIFIED_ROOT where all commits are signed!"
42-
exit 0;
42+
exit 0
4343
fi
4444

4545
if [ "$CURRENT_COMMIT" = $VERIFIED_SHA512_ROOT ]; then

src/netbase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ struct ProxyCredentials
291291
std::string password;
292292
};
293293

294-
/** Convert SOCKS5 reply to a an error message */
294+
/** Convert SOCKS5 reply to an error message */
295295
std::string Socks5ErrorString(uint8_t err)
296296
{
297297
switch(err) {

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3881,7 +3881,7 @@ CWallet* CWallet::CreateWalletFromFile(const std::string walletFile)
38813881
// Top up the keypool
38823882
if (!walletInstance->TopUpKeyPool()) {
38833883
InitError(_("Unable to generate initial keys") += "\n");
3884-
return NULL;
3884+
return nullptr;
38853885
}
38863886

38873887
walletInstance->SetBestChain(chainActive.GetLocator());

0 commit comments

Comments
 (0)