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 {
|
} else {
|
||||||
CAddrDb *db = const_cast<CAddrDb*>(this);
|
CAddrDb *db = const_cast<CAddrDb*>(this);
|
||||||
db->nId = 0;
|
db->nId = 0;
|
||||||
int n;
|
int n = 0;
|
||||||
READWRITE(n);
|
READWRITE(n);
|
||||||
for (int i=0; i<n; i++) {
|
for (int i=0; i<n; i++) {
|
||||||
CAddrInfo info;
|
CAddrInfo info;
|
||||||
|
|
Loading…
Add table
Reference in a new issue