aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bantablemodel.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-07-30 12:37:09 +0200
committerBen Woosley <ben.woosley@gmail.com>2019-01-13 03:25:14 -0800
commit9096276e0b2d5b7e19af9a5f3c144ef108ee55e0 (patch)
treed31596ad94235ed328012c191d6d5055f60bf31c /src/qt/bantablemodel.cpp
parent84d0fdce11709c8e26b9c450d47727ab36641437 (diff)
Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant)
Qt-only changes.
Diffstat (limited to 'src/qt/bantablemodel.cpp')
-rw-r--r--src/qt/bantablemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bantablemodel.cpp b/src/qt/bantablemodel.cpp
index 713db595d5..92cfbee074 100644
--- a/src/qt/bantablemodel.cpp
+++ b/src/qt/bantablemodel.cpp
@@ -76,7 +76,7 @@ public:
if (idx >= 0 && idx < cachedBanlist.size())
return &cachedBanlist[idx];
- return 0;
+ return nullptr;
}
};