Fix -Wuninitialized warnings
This commit is contained in:
parent
d54f39a1ee
commit
1065303ecb
1 changed files with 1 additions and 1 deletions
2
db.h
2
db.h
|
@ -281,7 +281,7 @@ public:
|
|||
} else {
|
||||
CAddrDb *db = const_cast<CAddrDb*>(this);
|
||||
db->nId = 0;
|
||||
int n;
|
||||
int n = 0;
|
||||
READWRITE(n);
|
||||
for (int i=0; i<n; i++) {
|
||||
CAddrInfo info;
|
||||
|
|
Loading…
Reference in a new issue