mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-28 07:48:36 +02:00
Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant)
Qt-only changes.
This commit is contained in:
committed by
Ben Woosley
parent
84d0fdce11
commit
9096276e0b
@@ -76,7 +76,7 @@ public:
|
||||
if (idx >= 0 && idx < cachedBanlist.size())
|
||||
return &cachedBanlist[idx];
|
||||
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user