aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-12-15 21:24:14 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-12-15 21:24:14 +0000
commitc39619eeb4e615eb991143edb99e031dd562d0f6 (patch)
tree2235221b6f1730094662535eebae7c852dbf05e7
parentba47a4ba97e924fb628849754c78d9cd10841c31 (diff)
downloadbitcoin-c39619eeb4e615eb991143edb99e031dd562d0f6.tar.xz
clang-tidy: Fix `readability-redundant-string-init` in headers
See https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-string-init.html
-rw-r--r--src/qt/transactionrecord.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/transactionrecord.h b/src/qt/transactionrecord.h
index d8748d7dc9..fe9c85279e 100644
--- a/src/qt/transactionrecord.h
+++ b/src/qt/transactionrecord.h
@@ -76,12 +76,12 @@ public:
static const int RecommendedNumConfirmations = 6;
TransactionRecord():
- hash(), time(0), type(Other), address(""), debit(0), credit(0), idx(0)
+ hash(), time(0), type(Other), debit(0), credit(0), idx(0)
{
}
TransactionRecord(uint256 _hash, qint64 _time):
- hash(_hash), time(_time), type(Other), address(""), debit(0),
+ hash(_hash), time(_time), type(Other), debit(0),
credit(0), idx(0)
{
}